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.
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.
The ASP.NET chart doesn’t support scrolling like in the WinForms version.
In the ASP.NET chart you can use:
UltraChart1.EnableScrollBar = true;
http://samples.infragistics.com/2010.3/WebFeatureBrowser/contents.aspx?showCode=true&t=WebCharts/Axis/AxisScrolling.aspx~srcview.aspx?path=~srcview.aspx?path=WebCharts/Axis/AxisScrolling.src
Unfortunately, this doesn’t not work with the CompositeChart.
Is there a plan to support scrolling in composite asp.net charts? Is there a workaround besides not using composite charts?
I know this is the wrong forum, but there seems not much missing to get the composite chart to work with scrolling? The image is rendered perfect. The only thing missing is the interaction with the mouse actions?
What code did you use to get you dates to appear like they do in your chart screen capture? I am creating similar line numeric time series but have not been able to get the dates to display. Thanks for any advice.
Hi,
just set:
this.ultraChart1.LineChart.TreatDateTimeAsString = false;
PERFECT! Thanks so much!