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 1289 - SubAxes paints incorrectly when PositionPercentage non-zero.
Summary: SubAxes paints incorrectly when PositionPercentage non-zero.
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: unspecified
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-04 06:49 EDT by christopher ireland
Modified: 2015-09-04 06:49 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 2015-09-04 06:49:29 EDT
Running the following code shows how PositionPercent positions the AxisLabels of a SubAxis but not the axis itself:

procedure TForm1.InitializeChart;
var tmpS : TBarSeries;
    subA, custA : TChartAxis;
begin
   Chart1.View3D:=false;

   tmpS := TBarSeries(Chart1.AddSeries(TBarSeries));
   tmpS.FillSampleValues();

   Chart1.MarginLeft:=10;

   subA:=Chart1.Axes.Left.SubAxes.Add;
   subA.Increment:=500/3;
   subA.PositionUnits:=muPixels;
   subA.PositionPercent:=-30;
end;