Page Control by TChartScrollBar
Posted: Wed Jul 28, 2004 3:02 pm
Hi All
I have an application that can draw different types of graphs depending on user selections. When the choice is histogram (THorizBarSeries), I split the result over multiple pages when the number of bars become excessive. I do this by changing the MaxPointsPerPage for the chart from 0 to whatever is appropriate.
When I do this, I make a TChartScrollBar visible as well to use as a navigator for my different pages. This allows me to use the same control to traverse pages, as what I would use to scroll other types of graphs.
The problem is, my TChartScrollBar does not seem to have any effect on the displayed page.
My scroll bar is set up as follows:
It's Axis = 'sbDefault', it's Kind = 'sbVertical' and it's Chart is set to the chart I want to control.
Is what I am trying to do possible? If so, how must I go about it?
Thanks in advance
Hendrik
I have an application that can draw different types of graphs depending on user selections. When the choice is histogram (THorizBarSeries), I split the result over multiple pages when the number of bars become excessive. I do this by changing the MaxPointsPerPage for the chart from 0 to whatever is appropriate.
When I do this, I make a TChartScrollBar visible as well to use as a navigator for my different pages. This allows me to use the same control to traverse pages, as what I would use to scroll other types of graphs.
The problem is, my TChartScrollBar does not seem to have any effect on the displayed page.
My scroll bar is set up as follows:
It's Axis = 'sbDefault', it's Kind = 'sbVertical' and it's Chart is set to the chart I want to control.
Is what I am trying to do possible? If so, how must I go about it?
Thanks in advance
Hendrik