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 1494

Summary: Rotated series marks do not correspond to Clicked positions
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: SeriesAssignee: 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 2016-04-05 07:05:16 EDT
Code to reproduce:

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      Line line = new Line(tChart1.Chart);
      line.FillSampleValues(10);
      line.Marks.Visible = true;
      line.Marks.TailStyle = MarksTail.None;
      line.Marks.Angle = 90;

      tChart1.MouseMove += TChart1_MouseMove;
    }

    private void TChart1_MouseMove(object sender, MouseEventArgs e)
    {
      int clicked = tChart1[0].Marks.Clicked(e.Location);
      this.Text = clicked.ToString();
    }

note that Clicked returns valid index as if the Mark was not rotated.