Page 1 of 1
horizontal and vertical scrollbar
Posted: Fri Nov 07, 2008 10:37 am
by 13045482
how to add horizontal and vertical scrollbar to chart? if space is less than we require this feature to see all x axis labels and legend.
Posted: Fri Nov 07, 2008 11:05 am
by narcis
Hi shikha,
In that case you'll have to use System.Windows.Forms.HScrollBar and System.Windows.Forms.VScrollBar which are standard WinForms components. You'll find an example
here.
Posted: Thu Nov 27, 2008 7:00 am
by 13045482
thanks , but how should i assosiate a horizontal scrollbar with teechart. that is i dragged and drooped it near teechart. but when i scroll the scrollbar in run time teechart does not scroll.?
Posted: Thu Nov 27, 2008 9:35 am
by narcis
Hi shikha,
Have you looked at the example I pointed you in my previous reply?
http://www.teechart.net/support/viewtopic.php?t=1924
This example shows how to do what you request.