How to maintain label dimension constant


Author
Message
Luca Azzoni
Luca Azzoni
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
Hi Nevron,

My chart is contained in a NContentPanel that has a fixed width and also it has a Y axis with its NLinearScaleConfigurator that sometimes is updated with LabelValueFormatter that adapts labels that sometimes are smaller and sometimes are bigger depends on decimal values.

The visual effect is not very good because the font size changes depending on the decimal values so the labels are difficult to read.

How could I maintain the font size constant maintaining also constant the width of NContentPanel ?
Thanks-
Reply
Luca Azzoni
Luca Azzoni
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
Hello,
Thanks for your reply. You can find in the attachment the image.

Perhaps another idea is to adapt the panel with: larger when label with increase and smallest when the label with decrease. But how can I found the label size?

I'am telling this because the size retrieved by myScaleconfigurator.LabelStyle.TextStyle.FontStyle.EmSize it is always the same it didn't change.
Attachments
Color Scale_2.png (175 views, 13.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search