Hi,
I have WebChart with 6 series each one on a custom axis
I need to supply the following functionality:
1. A vertical scrollbar, so that the graph will display 3 series at a time
I added a scrollbar tool code to the chart but it did not show.
//Add a ScrollBar to the Chart
ScrollBar scrollBar = new ScrollBar(ch1);
scrollBar.Active = true;
scrollBar.Horizontal = false;
scrollBar.DrawStyle = ScrollBarDrawStyle.Always;
scrollBar.Size = 100;
scrollBar.Position = 10;
I do not know how to position each custom axsis so that only 3 series will show at a time,
and the scroll bar will alow me to scroll for the other series.
2.For every axis I want to show on the right (right axis of the graph)
the minimum and maximum axis values with ticks for the minimum and the maximum
I also need to add text between the minimum and maximum values
i.e. for V1 I want 473 for maximum, -473 for minimum and "kVolts" for the text
3. I need to do some custom drawing on the graph such as drawing a circle.
I know I can do it in the OnAfterDraw event of the page, but I would like to do it when creating the graph originally
Is it at all possible?
I can not post my files at news://www.steema.net/steema.public.attachments,
so if needed please supply me with an e-mail address so that I'll send you a working example
Adding Scrollbar to a WebChart
Hi MeirS
The ScrollBar doesn't work in webforms, it's only by windowsForms. The version 3 has got the scrolltool to do it.
The ScrollBar doesn't work in webforms, it's only by windowsForms. The version 3 has got the scrolltool to do it.
You can use custom labels to do it, you can see an example in "Welcome !\Axes\Labels\Custom" at the features demo. You'll find the demo at TeeChart's program group. Also can be intersting for you read "Tutorial 4 - Axis Control".2.For every axis I want to show on the right (right axis of the graph)
the minimum and maximum axis values with ticks for the minimum and the maximum
I also need to add text between the minimum and maximum values
i.e. for V1 I want 473 for maximum, -473 for minimum and "kVolts" for the text
You can use the "WebChart1_BeforeDraw" event.3. I need to do some custom drawing on the graph such as drawing a circle.
I know I can do it in the OnAfterDraw event of the page, but I would like to do it when creating the graph originally
Is it at all possible?
Also you can post your files at our upload pageI can not post my files at news://www.steema.net/steema.public.attachments,
so if needed please supply me with an e-mail address so that I'll send you a working example