MSChart en VB
Hola.
Cómo puedo hacer para que aparezcan los rótulos de datos en la parte exterior de un gráfico de tipo VtChChartType2dPie ?
Cómo puedo hacer para que aparezcan los rótulos de datos en la parte exterior de un gráfico de tipo VtChChartType2dPie ?
yo tambien tenbgo la misma interrogante, si encuentras algo porfavor enviamelo...gracias
Yo lo resolví así:
With Me.MSChart1
For I = 1 To .Plot.SeriesCollection.Count
With .Plot.SeriesCollection(I).DataPoints(-1).DataPointLabel
.LocationType = VtChLabelLocationTypeOutside
.VtFont.Size = 9 'Tamaño del Font
.VtFont.VtColor.Set 255, 0, 0 'Color del Font
.Component = VtChLabelComponentValue 'Valor que se muestra
End With
Next I
End With
With Me.MSChart1
For I = 1 To .Plot.SeriesCollection.Count
With .Plot.SeriesCollection(I).DataPoints(-1).DataPointLabel
.LocationType = VtChLabelLocationTypeOutside
.VtFont.Size = 9 'Tamaño del Font
.VtFont.VtColor.Set 255, 0, 0 'Color del Font
.Component = VtChLabelComponentValue 'Valor que se muestra
End With
Next I
End With
