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 1814

Summary: Points Series Pointer.Style=Sphere throws unhandled exception
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2017-03-06 05:22:13 EST
Code to reproduce:

    ScrollPager tool;
    Steema.TeeChart.Styles.Points series;

    private void InitializeChart()
    {
      tChart1.Header.Text = "Scroll Pager Tool";
      tChart1.Series.Add(series = new Steema.TeeChart.Styles.Points());
      series.FillSampleValues(100);
      series.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere;

      AddPagerTool();
    }

    private void AddPagerTool()
    {
      tChart1.Tools.Clear();
      double StartValue = 5;
      double EndValue = 25;
      tChart1.Tools.Add(tool = new ScrollPager());
      tool.Series = series;

      tool.SubChartTChart.Panel.Pen.Visible = false;
      tool.SubChartTChart.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
      tool.SubChartTChart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;

      tChart1.Draw(); //Draw the chart to initialize all values

      tool.StartValue = StartValue;
      tool.EndValue = EndValue;
    }