Help - Search - Members - Calendar
Full Version: How to add values in Pie chart at runtime
Fast Reports forum > Fast Reports Products > FastReport 3.0
TariqChanggez
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.
gordk
Tariq works fine for me fr3 &4
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.