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 1501

Summary: Transpose Series Tool doesn't work properly.
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: chris
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://teechart.net/directline/viewtopic.php?f=6&t=1080
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2016-04-08 06:34:28 EDT
Transpose Series Tool doesn't work properly. Basically, the tool changes the initial order series values and also, modifies all the series values for last value. The code below shows the problem:

        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }

        private Steema.TeeChart.Tools.SeriesTranspose seriesTranspose1;
        private Steema.TeeChart.Styles.Bar bar1; 
       
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            bar1.Marks.Visible = false;
            bar1.FillSampleValues(5);
            //Tool
            seriesTranspose1 = new Steema.TeeChart.Tools.SeriesTranspose(tChart1.Chart);
            button1.Click += Button1_Click;
            button2.Click += Button2_Click;
        }

        private void Button2_Click(object sender, EventArgs e)
        {
            tChart1.ShowEditor();
        }

        private void Button1_Click(object sender, EventArgs e)
        {
            seriesTranspose1.Transpose();
        }