Hi all,
I can’t find how to create and format axis labels (not tick labels) on desktop charts. Could someone please point me in the right direction?
Also, is there a way to set the additional attributes (bold, italic) for the chart title?
Thank you.
You can add labels using the .AddLabels method. Just pass in an array, such as:
Chart1.AddLabels(Array("Reds", "Yellows", "Blues")
You can then change the font and font size with the FontName and FontSize properties. Is that what you mean? The Format property might also be useful to you.
See the properties TitleColor, TitleFontName, and TitleFontSize.
Docs are at DesktopChart — Xojo documentation