Auto tick marks at "zero" not exact
Moderator: Queue Moderators
Auto tick marks at "zero" not exact
In order to support generic charting scenarios, I'm specifying LabelsNumberFormat to be "G3" for X- and Y-axes in a ViewXY plot. Mostly this works great, but there are occasions when dragging or panning the chart area around where the axis label at zero displays an annoying, very small number as the label. Is there a reasonably easy way to avoid this? See the following screenshots for examples.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Auto tick marks at "zero" not exact
Try setting FormatValueLabel event handler for the axes, and do rounding to zero for the input value before string conversion.
That should work.
That should work.
LightningChart Support Team, PT
Re: Auto tick marks at "zero" not exact
That worked very nicely. Thanks!