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 - Activating TPolarSeries' ClockWiseLabels property changes the labels but not the points
Summary: Activating TPolarSeries' ClockWiseLabels property changes the labels but not ...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-09 03:57 EDT by yeray alonso
Modified: 2014-12-22 11:26 EST (History)
1 user (show)

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 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.