How to specify a datapoint label?
-
Wednesday, April 11, 2012 10:51 AM
I have a simple pie chart that Im adding points to as follows:
Chart_Entries.Series("Series1").Points.AddY(stats.stats_total_entries)However, in the chart, the legend text (or label text I believe its called) for the point I add are simply "Point 1", "Point 2", etc.. Ive been searching for an answer for quite some time and Ive yet to find a solution to the problem. I Just want to add a simple text to illustrate what the data point is about.
Regards- Edited by Untouchab1e Wednesday, April 11, 2012 11:20 AM
All Replies
-
Wednesday, April 11, 2012 11:38 AM
Figured it out finally.. Was rather simple so I probably should have resolved this ages ago..
Chart_Record_Types.Series("Series1").Points.Item(0).Label = "Total Entries"Alternatively, and more correctly, if you dont want the label text to show up in the actual chart.
Chart_Record_Types.Series("Series1").Points.Item(0).LegendText = "Total Entries"
- Marked As Answer by Untouchab1e Wednesday, April 11, 2012 11:38 AM
- Edited by Untouchab1e Wednesday, April 11, 2012 11:51 AM
-
Tuesday, May 01, 2012 7:54 AM
It is helpful!
No code, No fact.
- Edited by calanghei Tuesday, May 01, 2012 7:55 AM

