Hi,
I have a teechart (V8.07) with left axis, bottom axis and a right axis.
No I want to zoom, so that the left axis and bottomaxis are scaled but the right axis remains with the origin values.
For example the right axis was from 0..100% in the unzoomed mode. after zooming the left and bottoms axis are new scaled, but the right axis has 0..100%.
Furthermore the curves connected to the right axis should remain there y-values but zoom the x-values.
Is that possible ?
with best regards
Werner
Don't zoom th right axis
Re: Don't zoom th right axis
Hello Werner,
This is the default behaviour of the custom axes, so the easiest would probably be to use a custom axis instead of the right axis.
For example:
This is the default behaviour of the custom axes, so the easiest would probably be to use a custom axis instead of the right axis.
For example:
Code: Select all
uses Series;
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
Chart1.View3D:=false;
Chart1.Legend.Visible:=false;
Chart1.CustomAxes.Add;
Chart1.CustomAxes[0].OtherSide:=true;
for i:=0 to 1 do
begin
Chart1.AddSeries(TFastLineSeries).FillSampleValues();
if (i mod 2 = 0) then
begin
Chart1[i].Pen.Width:=2;
Chart1[i].CustomVertAxis:=Chart1.CustomAxes[0];
end;
end;
Chart1.MarginRight:=7; //custom axes don't set the margin to fit the labels automatically
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |