Location of ColorBandTool Of ScrollPager

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Location of ColorBandTool Of ScrollPager

Post by amol » Fri Sep 04, 2015 12:32 pm

Hi steema,

we are using ScrollPager tool and we have some query given as below,

1. we are setting
ScrollPagertool.SubChartTChart.Axes.Bottom.Minimum = 6200;
ScrollPagertool.SubChartTChart.Axes.Bottom.Maximum= 10500;

we also want to set colorbandtool start and end points initially when we opens chart, currently we are using below code
ScrollPagertool.ColorBandTool.Start= ScrollPagertool.SubChartTChart.Axes.Bottom.Minimum;
ScrollPagertool.ColorBandTool.End= ScrollPagertool.SubChartTChart.Axes.Bottom.Maximum;
but it does not work as shown in img1. as shown
img1.png
Img 1
img1.png (68.71 KiB) Viewed 10386 times
we want to show it like img2 as shown below
img2.png
img 2
img2.png (126.9 KiB) Viewed 10377 times
2. we want to stop draging of ColorBandTool out side the Scrollpagertool Subchart.

Thanks,

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Location of ColorBandTool Of ScrollPager

Post by Christopher » Mon Sep 07, 2015 8:02 am

Hello,
amol wrote: 1. we are setting
ScrollPagertool.SubChartTChart.Axes.Bottom.Minimum = 6200;
ScrollPagertool.SubChartTChart.Axes.Bottom.Maximum= 10500;
If I'm not mistaken, the answer to this question has already been give to you here.
amol wrote: 2. we want to stop draging of ColorBandTool out side the Scrollpagertool Subchart.
I'm not sure what you mean - could you please give us a clear example, using code, video and images, of what you mean here?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Re: Location of ColorBandTool Of ScrollPager

Post by amol » Mon Sep 07, 2015 9:44 am

thanks for reply,

but we have one more query,

1. How to stop updation of X-Axis of Scrollpager after point delete from the Tchart1.
for Ex- Tchart1 X-axis value is 1 to 1000

if we delete Last point of the series of Tchart, Subchart X-axis value Show form 1 to 900.

we want to show Axis of Subchart lies between 1 to 1000.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Location of ColorBandTool Of ScrollPager

Post by Christopher » Mon Sep 07, 2015 10:30 am

Hello,
amol wrote: 1. How to stop updation of X-Axis of Scrollpager after point delete from the Tchart1.
for Ex- Tchart1 X-axis value is 1 to 1000

if we delete Last point of the series of Tchart, Subchart X-axis value Show form 1 to 900.

we want to show Axis of Subchart lies between 1 to 1000.
Would you be so kind as to post an example I can run here of the code you are using to try to achieve this?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Re: Location of ColorBandTool Of ScrollPager

Post by amol » Mon Sep 07, 2015 1:43 pm

we have use following code for deleteion.

linePressure.XValues.RemoveAt(1000,500);

whrere LinePressure XValues min=0 and LinePressure XValues max=1000;

and Last Max Point is 900,400.

Then After deletion, we want to show max value of X-axis of Subchart of ScrollPager is 1000.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Location of ColorBandTool Of ScrollPager

Post by Christopher » Mon Sep 07, 2015 1:49 pm

Hello,
amol wrote:we have use following code for deleteion.
Some code that I can run "as-is" (e.g. SSCCE) would be greatly appreciated so I can quickly and precisely replicate your issue here.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply