Hiding "Units" in LegendBox3D

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
NielsUll
Posts: 19
Joined: Thu Jan 19, 2017 8:23 am

Hiding "Units" in LegendBox3D

Post by NielsUll » Thu Apr 27, 2017 7:44 am

Hi!

It is not quite clear how we hide the text "Units" in the LegendBox3D? We can set the UnitsColor to have an alpha of 0, but it will still take up space?
Or can we customize it to something else than "Units"?

ArctionKestutis
Posts: 555
Joined: Mon Mar 14, 2016 9:22 am

Re: Hiding "Units" in LegendBox3D

Post by ArctionKestutis » Fri Apr 28, 2017 7:04 am

Hi,

You probably are asking about SurfaceSeries. With those series 'Unit' text in LegendBox3D is shown by default. However, text itself come from YAxisPrimary3D.Units.Text property. If you set this property to Null or empty string text will disappear from LegendBox3D (and no space will be taken). If you want to change font or color, when you would use properties LegendBox.UnitFont and .UnitColor.

Hope this helps.

Post Reply