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 763

Summary: Activating TPolarSeries' ClockWiseLabels property changes the labels but not the points
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: mertelmeyer
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-05-09 03:57:19 EDT
With the following code you'll see the labels are clockWise, but the points are drawn as if the labels weren't. So the first value (10,50) is drawn at label 350, etc

  Chart1.View3D:=false;

  Chart1.Axes.Bottom.SetMinMax(0,100);
  Chart1.Axes.Left.SetMinMax(0,100);

  with Chart1.AddSeries(TPolarSeries) as TPolarSeries do
  begin
    Brush.Style:=bsClear;
    Pen.Visible:=false;

    Rotate(90);
    ClockWiseLabels:=true;


    AddPolar(10,50);
    AddPolar(15,60);
    AddPolar(20,70);
    AddPolar(25,80);
    AddPolar(30,90);
  end;

A workaround is to change the sign of the Angles:

    AddPolar(-10,50);
    AddPolar(-15,60);
    AddPolar(-20,70);
    AddPolar(-25,80);
    AddPolar(-30,90);
Comment 1 Jarl Balgruuf the Greater 2014-12-02 11:50:25 EST
I have spent quite some time on this problem. It only got noticed after being accused by a customer of displaying entirely wrong data. Please upgrade the priority of "Enhancement" to something more serious.