Custom marks loose background rect
Posted: Wed Jun 28, 2006 10:14 am
When Series marks are positioned they loose some of their capabilities.
I can cange the fonts color and size, but the surrounding rectangle is gone. No matter if I try it for the whole series or for a individual mark, I never see more than the pure text.
APosition := TSeriesMarkPosition.Create;
APosition.Custom := false;
APosition.LeftTop.X := Series1.Marks.Positions.LeftTop.X;
APosition.LeftTop.Y := 50;
Series1.Marks.Positions := APosition;
with Series1.Marks do begin
Font.Size:=12; // works
Font.Color:=clRed; // works
Color:=clNavy; // dows not work
end;
I can cange the fonts color and size, but the surrounding rectangle is gone. No matter if I try it for the whole series or for a individual mark, I never see more than the pure text.
APosition := TSeriesMarkPosition.Create;
APosition.Custom := false;
APosition.LeftTop.X := Series1.Marks.Positions.LeftTop.X;
APosition.LeftTop.Y := 50;
Series1.Marks.Positions := APosition;
with Series1.Marks do begin
Font.Size:=12; // works
Font.Color:=clRed; // works
Color:=clNavy; // dows not work
end;