Jump to content
Software FX Community

A Custom scroll bar/track bar to function in the absence of inbuilt scroll bar


Recommended Posts


I am using Chart FX 6.2 version for .Net.

I would like to use a custom scroll bar or say a track bar rather,  toscroll through the graph instead of in-built chartFX scrollbar. Iwould like to know how to do this. Also Chart FX in-built scrollbarshould not be visible.

The Property 'ExtraStyle' does not come into this 6.2 version  How should I go about it?

Please help me on this.

It would be a great help if someone can provide sample code for this.

 Thanks & Regards,



Link to comment
Share on other sites

You can add a TrackBar to your form and use the following code to scroll through the graph:

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

private void trackBar1_Scroll(object sender, EventArgs e)


chart1.AxisX.ScrollPosition = trackBar1.Value;


Also add this line within the Form Load:

trackBar1.Maximum = chart1.NValues; //or you can use (int)chart1.AxisX.Max if you previously set this value to your chart.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...