Page 1 of 1
Location of ColorBandTool Of ScrollPager
Posted: Fri Sep 04, 2015 12:32 pm
by 9526439
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
- Img 1
- img1.png (68.71 KiB) Viewed 10548 times
we want to show it like img2 as shown below
- img 2
- img2.png (126.9 KiB) Viewed 10539 times
2. we want to stop draging of ColorBandTool out side the Scrollpagertool Subchart.
Thanks,
Re: Location of ColorBandTool Of ScrollPager
Posted: Mon Sep 07, 2015 8:02 am
by Christopher
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?
Re: Location of ColorBandTool Of ScrollPager
Posted: Mon Sep 07, 2015 9:44 am
by 9526439
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.
Re: Location of ColorBandTool Of ScrollPager
Posted: Mon Sep 07, 2015 10:30 am
by Christopher
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?
Re: Location of ColorBandTool Of ScrollPager
Posted: Mon Sep 07, 2015 1:43 pm
by 9526439
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.
Re: Location of ColorBandTool Of ScrollPager
Posted: Mon Sep 07, 2015 1:49 pm
by Christopher
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.