I have a blank TChart together with a TChartGrid.
I assigned the ChartGrid to the Chart:
HeadwayChartGrid.Chart := HWayChart;
In my program, I add a series to the chart and then add data to the series. In the call to AddXY, the StatusTxt values describes important information about the items in the series.
HWayBarSeries[HWayBarSeriesCount].AddXY(DateTime, HeadwayTime, StatusTxt, ActivityColour);
The ChartGrid correctly creates and shows 3 columns for StatusTxt, Date, and Data value for that series.
Now, using the same procedure, I add another Series with different StatusTxt describing the new series items.
The ChartGrid now only adds 2 columns for Date, and Data value for that series. It does not add a column for the different StatusTxt that is relevant to the new Series.
This of course makes the ChartGrid appear to only contain one type of data.
How do a get the ChartGrid to add a column for the StatusTxt on subsequent Series?
Thanks
ChartGrid Column problems
-
- Newbie
- Posts: 17
- Joined: Thu Jan 04, 2018 12:00 am
ChartGrid Column problems
- Attachments
-
- No new column for additional series.
- 2018-02-27_03-19-59.jpg (69.42 KiB) Viewed 6656 times
Re: ChartGrid Column problems
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |