I've just started using XtraCharts and I've created a basic 2D bar chart that is rotated. How do I enable scrolling for both axes? I have a window form with a defined size for the chart. Rather than show the data with scrollbars, it is forcing the data on top of itself to fit into the defined area. Currently I've only managed to get the y axis to have a scrollbar.
Here is an example of what I'm seeing...
For any other newbie's out there, you must set the Range Min/Max values for each axis, anything beyond that range, is scrolled.
Ex: ((XYDiagram)chartControl1.Diagram).AxisY.Range.SetMinMaxValues(0, 30);
Hi all,
i used the above code in my code file. But can't see any scrollbars in my webchartcontrol.Anything extra to be done in this?????
Anyone please help me in this.
Regards,
Make sure you have scrolling enabled...
((XYDiagram)chartControl1.Diagram).EnableScrolling = true;