Fixed YAxes width

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Andres
Posts: 8
Joined: Mon May 22, 2017 9:40 pm

Fixed YAxes width

Post by Andres » Wed Sep 20, 2017 6:41 pm

Hi there,

I am looking to have a fixed width value for the YAxis.

The reason is , while I am zooming and the ticks gets more digits, the width changes and it's a uncomfortable behavior for the user.

How can I get this working?

Also I'd like to have the YAxes as thin as posible in order to give more graphic space to the user.


Thanks in advance,
Andrés
Attachments
width-difference.png
width-difference.png (20.48 KiB) Viewed 8311 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Fixed YAxes width

Post by ArctionPasi » Thu Sep 21, 2017 7:25 am

Hi Andres,

set ViewXY.AxisLayout.AutoAdjustMargins = false,
and set ViewXY.Margins explicitly.

To have thin Y Axis, set axis.AxisThickness = 1
LightningChart Support Team, PT

Post Reply