Hello, I work with RadStudio 10.2 and Teechart 2018.25
I have custom axis on my chart. If i set left axis visible property to false, my custom axis label also disappeared.
I've attached tee file to this topic. You can reproduce this behaviour, by setting Left Axis visible property to false in Teechart Office.
Custom axis label disappearing
Custom axis label disappearing
- Attachments
-
- test.7z
- (2.4 KiB) Downloaded 688 times
Re: Custom axis label disappearing
Hello,
This happens because the CustomAxes don't "inflate" the chartRect like the default axes. You can workaround this setting some extra margin. Ie:
This happens because the CustomAxes don't "inflate" the chartRect like the default axes. You can workaround this setting some extra margin. Ie:
Code: Select all
procedure TForm1.CheckBox1Click(Sender: TObject);
begin
Chart1.Axes.Left.Visible:=CheckBox1.Checked;
if Chart1.Axes.Left.Visible then
Chart1.MarginLeft:=16
else
Chart1.MarginLeft:=66;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |