Page 1 of 1
ColorBand bug
Posted: Tue Oct 08, 2013 8:35 am
by 15665989
Hello!
If I add ColorBand to TChart, then remove it, some dirt stays on the screen.
With ColorBand
- 1.png (6.29 KiB) Viewed 19574 times
After ColorBand removing
- 2.png (7.49 KiB) Viewed 19573 times
Here is application sample
Re: ColorBand bug
Posted: Tue Oct 08, 2013 12:17 pm
by 10050769
Hello neurosoft,
I can reproduce your problem. I have added it in bug list report with number [TW16016733]. We will try to fix it to upcoming versions of TeeChartFor.Net. On the other hand, at the moment, you can use next workaround to solve your problem:
Code: Select all
//TChart MyTChart;
public MainWindow()
{
InitializeComponent();
MyTChart.Aspect.View3D = false;
MyTChart.Width = 400;
MyTChart.Height = 300;
MyTChart.Axes.Left.SetMinMax(0, 10);
colorBand = new ColorBand();
MyTChart.Tools.Add(colorBand);
colorBand.Axis = MyTChart.Axes.Left;
colorBand.Color = Colors.Green;
colorBand.End = 7;
colorBand.ResizeEnd = true;
colorBand.ResizeStart = true;
colorBand.Start = 3;
}
ColorBand colorBand;
private void Button_Click(object sender, RoutedEventArgs e)
{
colorBand.EndLine.Active = false;
colorBand.StartLine.Active = false;
MyTChart.Tools.Remove(colorBand);
}
Could you confirm us if previous code works in your end?
Thanks,
Re: ColorBand bug
Posted: Tue Oct 08, 2013 12:27 pm
by 15665989
Thank you, workaround works for me.
But I'll also wait for updated version.
Re: ColorBand bug
Posted: Mon Nov 11, 2013 1:58 pm
by 15665989
Hello!
I've just tried TeeChartNET2013_4.1.2013.11080, but this bug [TW16016733] is not fixed.
Please explain when it will be removed?
Re: ColorBand bug
Posted: Mon Nov 11, 2013 4:34 pm
by 10050769
Hello neurosoft,
The bug isn't still fixed. We will try to fix it to upcoming versions of TeeChartFor.Net asap. I recommend you to be aware at this forum, our
RSS news feed,
twitter and
facebook accounts for new release announcements and what's implemented on them.
Thanks,
Re: ColorBand bug
Posted: Wed Dec 11, 2019 6:07 am
by 15685800
Hello!
Just for now this bug is not fixed (Six years!). How long to wait?
Now we use version for WPF 4.2019.5.15
Regards,
Neurosoft company
Re: ColorBand bug
Posted: Thu Dec 12, 2019 9:24 am
by Christopher
Hello,
okay, we've finally managed to fix this issue which you can see on our issue-tracker as
id=340. We wish to apologize for the delay in the fix, and the fix will become available in the next build of TeeChart which is due before the end of this year.