Hello Pasi,
I would like to scale with my Line chart Point the X-axis with integers.
It should always integers are displayed.
How can I configure it?
Point Line Chart x-axis as an integer scaling
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Point Line Chart x-axis as an integer scaling
Hi Felix,
xAxis.AutoFormatLabels = false;
xAxis.LabelsNumberFormat = "0";
does it work for you?
xAxis.AutoFormatLabels = false;
xAxis.LabelsNumberFormat = "0";
does it work for you?
LightningChart Support Team, PT
Re: Point Line Chart x-axis as an integer scaling
Hello Pasi,
yes thank you it does.
But I get this error display.
yes thank you it does.
But I get this error display.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Point Line Chart x-axis as an integer scaling
set axis.AutoDivSpacing = false.
and then set axis.MajorDiv = 1 or some other larger integer.
and then set axis.MajorDiv = 1 or some other larger integer.
LightningChart Support Team, PT
Re: Point Line Chart x-axis as an integer scaling
Hello Pasi,
how can I hide the scaling lines?
how can I hide the scaling lines?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Point Line Chart x-axis as an integer scaling
xAxis.MinorDivTickStyle.Visible = false
LightningChart Support Team, PT