Is there a way to have the labels of an axis show up centered behind (or in front) of the data?
Thanks,
John
Axis Labels Behind Shape Series?
Re: Axis Labels Behind Shape Series?
Hello John,
I'm not sure to understand the situation. The shape series is clipped by default in the chartrect so the axes labels are always shown in a simple example for me here:
I'm not sure to understand the situation. The shape series is clipped by default in the chartrect so the axes labels are always shown in a simple example for me here:
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Axis Labels Behind Shape Series?
Hello, thanks for the reply. Yeah, that was a little unclear. What I would like to do is have labels in the chart, not just on the outside axis. For example, running down or across the middle of the chart.
Thank you.
Thank you.
Re: Axis Labels Behind Shape Series?
Hello,
You may be interested on the axes
Ie:
You may be interested on the axes
PositionPercent
, PositionUnits
and the Chart's AxisBehind
properties.Ie:
Code: Select all
uses TeeShape;
procedure TForm1.FormCreate(Sender: TObject);
begin
with Chart1 do
begin
View3D:=False;
Legend.Hide;
Gradient.Visible:=False;
Color:=clWhite;
Walls.Back.Gradient.Visible:=False;
Walls.Back.Color:=clWhite;
with Chart1.AddSeries(TChartShape) do
begin
FillSampleValues;
Color:=OperaPalette[0];
end;
Chart1.AxisBehind:=False;
Chart1.Axes.Bottom.PositionUnits:=muPercent; //muPixels,muPixels;
Chart1.Axes.Left.PositionUnits:=muPercent; //muPixels,muPixels;
Chart1.Axes.Bottom.PositionPercent:=50;
Chart1.Axes.Left.PositionPercent:=50;
Chart1.Axes.Bottom.Grid.Hide;
Chart1.Axes.Left.Grid.Hide;
end;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Axis Labels Behind Shape Series?
Perfect, thank you!