I am trying to get a pie chart using ASP.Net Charting controls. Everything is fine. The value X is the name of a specific item with a Y value. The legend displays the value of X, the size of the slices of the cake corresponds to the value of Y. Everything is fine.
However, I also have a value, like a label attached to the chart, and I would like it to display the value Y instead. How can i do this? I tried the following:
series.AxisLabel = "#VALY";
series.LabelFormat = "#VALY";
series.Label = "#VALY";
Any tips?
Thank!
source
share