Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 340 - [TW16016733] When you add ColorBand to TChart, then remove it, the color lines ar...
Summary: [TW16016733] When you add ColorBand to TChart, then remove it, the color lin...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: WPF (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 15:06 EDT by sandra pazos
Modified: 2019-12-12 03:47 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2013-11-20 11:24:32 EST
When you add  ColorBand to TChart, then remove it, the color lines aren't disappear. It problem only occurs in WPF version, so the same code works in correct way in Winforms. Could you see next code to check the problem: 
        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)
        {
          MyTChart.Tools.Remove(colorBand); 
        } [created:2013-10-08T14:06:16.000+01:00 reported by:sandra@steema.com reported in version:]