I have a composite chart that I want to be able to scroll the X axis. I have set the following:
ultraChart1.Axis.X.ScrollScale.Visible = true;
ultraChart1.Axis.X.ScrollScale.Scroll = 0;
but that does not seem to work. The composite chart contains a single 2D Line chart (for now).
In the composite charts there are custom axis. You have to find the right one. This should be something like:
ScrollScaleAppearance scaleAppearance = this.ultraChart1.CompositeChart.ChartAreas[0].Axes[0].ScrollScale;
scaleAppearance.Scale = 0.2;
ScrollScale property for now is not public visible, because it's not tested well, but you can try to use this.
Hi!
I have GanttChart. Can I use ScrollScale too?
Thanks in advance,
Peter
That worked. I also found I can add the information when I am setting up the axis so I don't have to guess which index it is.
axisX.OrientationType = AxisNumber.X_Axis;
axisX.SetLabelAxisType = SetLabelAxisType.ContinuousData;
axisX.Labels.Orientation = TextOrientation.VerticalLeftFacing;
axisX.ScrollScale.Scale = 0.2;
Thanks for your help.