in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Autoscroll for x AND y axis?

Last post 11/30/2008 4:59 PM by Matthew Singley. 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
Previous Next
  • 10/22/2008 5:41 PM

    Autoscroll for x AND y axis?

     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...

     

     

     

    Filed under:
  • 10/29/2008 4:18 PM In reply to

    Re: Autoscroll for x AND y axis?

     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);       

  • 11/24/2008 7:13 AM In reply to

    Re: Autoscroll for x AND y axis?

    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,

    Chandru. V
  • 11/30/2008 4:59 PM In reply to

    Re: Autoscroll for x AND y axis?

    Make sure you have scrolling enabled...

     ((XYDiagram)chartControl1.Diagram).EnableScrolling = true;

Page 1 of 1 (4 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED