| Christoph Moebus 2006-01-25, 4:16 am |
| Hello NG,
I have a problem controlling the Datapoint Labels using the ChartType 2dPie
I would like to show the Value and the percentage of each Pie slice.
When I use the following code, there are two rectangles between the value
and the percentage, what looks very silly....
These rectangles are probably placeholders for a line feed, or? How can I
get rid of them???
With
MSChartProjektkosten.Plot.SeriesCollection(1).DataPoints(-1).DataPointLabel
.TextLayout.WordWrap = True
.Component = 3
.PercentFormat = "#0,0%"
.ValueFormat = "#.#0,00" & "?"
End With
I also tried it with the following code, but this also does not work.
The Property .custom has no effect at all and the .Text creates an errror
message.
With
MSChartProjektkosten.Plot.SeriesCollection(1).DataPoints(-1).DataPointLabel
.Custom = True
.TextLayout.WordWrap = True
.Text = Value & Text
End With
I hope someone can help me with the "well documented" MSChart...
Greetings
Christoph Moebus
|