We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

move line chart ... plz plz help......... :(

Thread ID:





74977 Jul 7,2008 12:26 PM UTC Jul 18,2008 03:00 PM UTC WinForms 2
Tags: Chart
Administrator [Syncfusion]
Asked On July 7, 2008 12:26 PM UTC


i m using syncfusion 5.2 for plotting my line charts. i zoomed in and out the chart succesfully. but i want to move the chart with using scroll bar. for eg. when i click on any point at the x-axes. it moves that point to the middle of the graph. the attached pic my clear u more.

plz plz help me ! if it's possible.
or can i get the click event of the the scroll bar?

Thanks & Regards
Dalvir Singh


Administrator [Syncfusion]
Replied On July 10, 2008 07:11 AM UTC

Monohari.h plz tell me atleast is it possible or not.....

Dalvir Singh

J.Nagarajan [Syncfusion]
Replied On July 18, 2008 03:00 PM UTC

Hi Dalvir ,

Sorry for the dealy in getting back to you.

To scroll the chart scrollbar to the MousePosition, you need to handle Scroll event and you can set the e.NewValue in this event. Please refer to the below code snippet.

this.chartControl1.GetHScrollBar(this.chartControl1.PrimaryXAxis).ScrollBar.Scroll += new ScrollEventHandler(ScrollBar_Scroll);
void ScrollBar_Scroll(object sender, ScrollEventArgs e)
//Here you can set the e.NewValue to your Cursor position

Please let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon