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 833 - CircularGauge labels misaligned when creating a chart at run-time
Summary: CircularGauge labels misaligned when creating a chart at run-time
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 140512
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 11:16 EDT by narcís calvet
Modified: 2021-02-12 04:12 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
wrong labels (10.63 KB, image/jpeg)
2014-07-08 11:16 EDT, narcís calvet
Details
test project (1.80 KB, application/x-zip-compressed)
2016-09-21 05:11 EDT, yeray alonso
Details
Misaligned labels when longer (15.65 KB, image/jpeg)
2021-02-12 04:11 EST, yeray alonso
Details
Misaligned labels when conain decimals (17.71 KB, image/jpeg)
2021-02-12 04:12 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description narcís calvet 2014-07-08 11:16:44 EDT
Created attachment 239 [details]
wrong labels

CircularGauge axis labels misaligned when creating a chart at run-time:

uses
  TeeCircularGauge, Chart;

procedure TForm1.FormCreate(Sender: TObject);
var
  Chart1: TChart;
  Series1: TCircularGauge;
begin
  Series1 :=TCircularGauge.Create(self);
  Series1.FillSampleValues;

  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.View3D:=false;
  Chart1.AddSeries(Series1);
end;

Creating the chart (only the chart, no need to do it with the series) at design-time works fine. See attached image demonstrating it.
Comment 2 yeray alonso 2016-09-21 05:11:15 EDT
Created attachment 645 [details]
test project

It seems showing the Title makes the labels to position correctly.
Comment 3 yeray alonso 2021-02-12 04:11:16 EST
Created attachment 955 [details]
Misaligned labels when longer
Comment 4 yeray alonso 2021-02-12 04:12:00 EST
Created attachment 956 [details]
Misaligned labels when conain decimals