Page 1 of 1

Better axis labels when really zoomed in

Posted: Tue Oct 18, 2016 2:43 pm
by greggorob64
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

Re: Better axis labels when really zoomed in

Posted: Tue Oct 18, 2016 6:59 pm
by ArctionPasi
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