How to add values in Pie chart at runtime
How can I add values to a Pie chart object at run time. If I use the example provided in the user manual (as shown below) it works fine for a Bar Chart but does not work for a Pie Chart:
Chart1.SeriesData[0].XSource := 'Jan; Feb; Mar';
Chart1.SeriesData[0].YSource := '31;28;31';
I simply want to set values for the "Label" and "Pie" at runtime.
Chart1.SeriesData[0].XSource := 'Jan; Feb; Mar';
Chart1.SeriesData[0].YSource := '31;28;31';
I simply want to set values for the "Label" and "Pie" at runtime.
Comments
make sure your series is active your chart id is correct and your index is correct, and your series is set to fixed data.
write your code in obp event of chartview