[SOLVED] FMX Gantt chart - horizontal ScrollPager tool
Posted: Fri Aug 06, 2021 11:55 am
The goal is to have the ScrollPager tool for a Gantt chart at the bottom of the chart and horizontally scrolling. For line charts this seems to be the standard, but I can't figure out how to achieve the same for Gantt charts.
There is a Axis setting for the color band, but changing it to "Bottom Axis" does not have any effect. After closing and reopening the chart editor, the setting switches back to "Left Axis".
Creating the ScrollPager tool in code gives the same result (ScrollPager is always on the right):
Helping words are highly appreciated.
TeeChart version: 2021.32.210430
Delphi version: 10.4.2 (with all patches)
There is a Axis setting for the color band, but changing it to "Bottom Axis" does not have any effect. After closing and reopening the chart editor, the setting switches back to "Left Axis".
Creating the ScrollPager tool in code gives the same result (ScrollPager is always on the right):
Code: Select all
var spt := TScrollPagerTool.Create(Self);
spt.Series := series3;
spt.ColorBandTool.Axis := Chart2.Axes.Bottom;
Chart2.tools.Add(spt);
TeeChart version: 2021.32.210430
Delphi version: 10.4.2 (with all patches)