Profile Picture

How to Add a vertical scrollbar for the entire chart?

Posted By Baiju PS 12 Years Ago
Author
Message
Baiju PS
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 3, Visits: 1

Hi,

I have a requirement in which i have to plot about 20-25 line series. Is it possible to increase the height of the chart and provide a vertical scrollbar so that i can have the same size for individual line series. How do i achieve this?

Your reply is greatly appreciated.

Thanks & Best Regards,

Baiju.

 

 



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

Hi Lijo,

You mean having a single scrollbar that scrolls the entire control? If this is the case you can do the following:

  1. Create a panel control on the form.
  2. Host a chart control inside that panel using some code like:

NChartControl chartControl = new NChartControl();

chartControl.Location = new Point(0, 0);

chartControl.Width = panel1.Width - 20;

chartControl.Height = 800;

panel1.AutoScroll = true;

panel1.Controls.Add(chartControl);

This will force the parent panel to have a vertical scrollbar and you can scroll the entire content.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic