Better axis labels when really zoomed in

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Better axis labels when really zoomed in

Post by greggorob64 » Tue Oct 18, 2016 2:43 pm

Hello. I'm displaying a sampledata series with 50k points, and all axis labelling totally default.

I'm very happy with the performance\display stuff, unless you're really zoomed in. When i'm very zoomed in. I get a whole bunch of duplicate numbers.

Is there a way for me to have this just display "1, 2, 3, etc" without the duplicates without a lot of manual work? I like the automatic performance in every case but this.

Thanks

Image

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

Re: Better axis labels when really zoomed in

Post by ArctionPasi » Tue Oct 18, 2016 6:59 pm

Hi Greg,

how about just setting xAxis.AutoFormatLabels = true? It is best used with xAxis.AutoDivSpacing = true.

There's of course several other ways to solve it:
- set LabelsNumberFormat accordingly
- set FormatValueLabel event handler, define output string there
- set CustomAxisTicks where you can control the tick position and labels explicitly
LightningChart Support Team, PT