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

Summary: SubAxes paints incorrectly when PositionPercentage non-zero.
Product: VCL TeeChart Reporter: christopher ireland <chris>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal    
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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;