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 - Points Series Pointer.Style=Sphere throws unhandled exception
Summary: Points Series Pointer.Style=Sphere throws unhandled exception
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-06 05:22 EST by christopher ireland
Modified: 2017-03-06 10:38 EST (History)
0 users

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 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;
    }