Hi All
When I set Clip to true for a Horizontal bar series, my marks for the maximum values are disected by the right axis. (When I am autoscaling)
How can I force the chart to reseve anough space for the bars as well as their marks when I am using autoscale?
-hp_meyer
Clipping through series mark.
Hi,
several tricks to do this, one could be to use the Offsets, doing something like the folloiwng :
several tricks to do this, one could be to use the Offsets, doing something like the folloiwng :
Code: Select all
procedure TForm1.CheckBox1Click(Sender: TObject);
begin
if checkbox1.Checked then
begin
Chart1.ClipPoints := True;
Series1.Marks.Clip := True;
Chart1.Axes.Bottom.MaximumOffset := Series1.Marks.Width + Series1.Marks.ArrowLength;
end
else begin
Chart1.ClipPoints := false;
Series1.Marks.Clip := false;
Chart1.Axes.Bottom.MaximumOffset := 0;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com