Scroll bar to Chart

Last post 11-08-2007 6:06 PM by dwhite. 4 replies.

Sort Posts:

  • Scroll bar to Chart

    11-07-2007, 10:43 PM
    • Member
      point Member
    • mzypt
    • Member since 10-31-2007, 10:48 PM
    • Posts 7

    Hi,

     

    Hi I'm using  MS Visual Web developer 2005 with Dundas Chart for ASP.NET and AJAX extension. Making dynamic sharts should be easy and I managed to create one  but since the data rance is quite big I would like to add a scrollbar to X-axis. From http://www.codeproject.com/showcase/Dundas_Ajax.asp?print=true I can see that it should be easy.

    For example, the following line of code enables zooming on the X-axis:
    Chart1.ChartAreas[0].CursorX.UserEnabled = true;

     Where should I copy paste that line? Or how can I implement the scrollbar?

     

     Thanks,

    Mark

     

  • Re: Scroll bar to Chart

    11-08-2007, 5:08 AM
    Answer
    • Star
      12,429 point Star
    • ca8msm
    • Member since 11-29-2005, 3:57 PM
    • http://mdssolutions.co.uk
    • Posts 2,152

    Why not ask directly in the Dundas forums

    Website Design Darlington - http://mdssolutions.co.uk
    http://lessthandot.com - Experts, Information, Ideas & Knowledge
    http://aspnetlibrary.com - An online resource for professional ASP.NET developers


    Please remember to click "Mark as Answer" on this post if it helped you

  • Re: Scroll bar to Chart

    11-08-2007, 11:42 AM
    • Star
      8,978 point Star
    • dwhite
    • Member since 02-08-2007, 9:25 AM
    • Bristol, CT
    • Posts 1,422

    You can always use an outer container to add a scrollbar, for example:

    <div style="width:500px; overflow-x:auto;">
        Your Chart Image
    </div>

    Hope this helps.

    -Damien

    Visoft, Inc - Home | Blogs

    Latest Blog Post: Silverlight DataBinding Bug
  • Re: Scroll bar to Chart

    11-08-2007, 3:37 PM
    • Member
      point Member
    • mzypt
    • Member since 10-31-2007, 10:48 PM
    • Posts 7
    Yes I know that but I want to scroll just the graph inside the chart.
  • Re: Scroll bar to Chart

    11-08-2007, 6:06 PM
    • Star
      8,978 point Star
    • dwhite
    • Member since 02-08-2007, 9:25 AM
    • Bristol, CT
    • Posts 1,422

    mzypt:
    Yes I know that but I want to scroll just the graph inside the chart.

    I suggest you look over at the Dundas Forums then...

    -Damien

    Visoft, Inc - Home | Blogs

    Latest Blog Post: Silverlight DataBinding Bug
Page 1 of 1 (5 items)