Bar Chart Self-stacked. Value on bottom axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Errol
Newbie
Newbie
Posts: 29
Joined: Mon Jul 08, 2019 12:00 am

Bar Chart Self-stacked. Value on bottom axis

Post by Errol » Thu Oct 06, 2022 5:47 am

I use bar charts in Self-Stack mode to display rock types in a well. However, the bottom axis always shows the first alphabetically-sorted rock type in the well. There is an example in Tee9New|All Features|Chart Styles|standard|Bar|Self Stacked (the word "Cars"). I do not want to show anything on the bottom axis. have looked through the code but cannot see why the value is placed on the axis.

Yeray
Site Admin
Site Admin
Posts: 9509
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Bar Chart Self-stacked. Value on bottom axis

Post by Yeray » Thu Oct 06, 2022 11:09 am

Hello,

When the axis LabelStyle is set to talAuto (as per default) and the series has labels defined, the axis shows the first label from the first series. This is per design.
If you want to change it, you have several options. You can change the axis LabelStyle, you can hide the axis labels, you can set custom axis labels,...
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply