Currently our bar chart in the app looks like this:
So we want to allow more bars on the graph and are looking to allow the panning option.
But when I set this option, the user can keep on panning left and right so that the actual graph moves completely out of view... example:
So my question, how can I allow panning, but only so that the panning stops at the first left bar and last right bar?
Secondly even though I now set following code, the graph will not adjust the amount of visible bars.
Code: Select all
BarChart.Chart.Axes.Bottom.Automatic = false;
BarChart.Chart.Panning.Allow = Steema.TeeChart.ScrollModes.Horizontal;
BarChart.Chart.Axes.Bottom.Minimum = 0;
BarChart.Chart.Axes.Bottom.Maximum = 5;
Final question, how do I position the graph to the end right bar if panning is active? Currently it will position itself to the first left bar.