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 55

Summary: DataTable Tool Editor Auto offset check box problems.
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major CC: sdgr
Priority: ---    
Version: TeeChart for .NET 4.1.2013.07300   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: ColorGrid_DHI2

Description sandra pazos 2013-10-25 11:42:48 EDT
If run an application where there is a DataTable Tool and open the editor of tool, when you check the checkbox Auto offset, the first time it works, but if you uncheck/check again the chart isn't change. Use next code to reproduce the problem: 
  Steema.TeeChart.TChart tChart1;
    public Form1()
    {
      InitializeComponent();
      tChart1 = new TChart();
      this.Controls.Add(tChart1);
      tChart1.Top = 150;
      tChart1.Left = 100;
      tChart1.Height = 400;
      tChart1.Width = 550;
      InitializeChart();

    }
    Steema.TeeChart.Styles.Bar series1,series2;
    Steema.TeeChart.Tools.DataTableTool dataTool;
    private void InitializeChart()
    {
      series1 = new Bar(tChart1.Chart);
      series2 = new Bar(tChart1.Chart);
      series1.FillSampleValues();
      series2.FillSampleValues();
      dataTool = new DataTableTool(tChart1.Chart);
      dataTool.RowPen.Color = Color.Black;
      dataTool.ColumnPen.Color = Color.Black;
          
     
      
    }
    void button1_Click(object sender, EventArgs e)
    {
      tChart1.ShowEditor();
    }
Comment 1 sdgr 2014-03-20 05:31:09 EDT
Created attachment 126 [details]
ColorGrid_DHI2
Comment 2 sdgr 2014-03-20 05:33:22 EDT
Comment on attachment 126 [details]
ColorGrid_DHI2

Sorry, wrong location where I added the attachment. But can't find a way to remove it.
Stefan.