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 - Rotated series marks do not correspond to Clicked positions
Summary: Rotated series marks do not correspond to Clicked positions
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 07:05 EDT by christopher ireland
Modified: 2016-04-05 07:11 EDT (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 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.