Page 1 of 1
Point Line Chart x-axis as an integer scaling
Posted: Mon Jun 30, 2014 12:04 pm
by Felix
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?
- PointLineChart.PNG (55.15 KiB) Viewed 12743 times
Re: Point Line Chart x-axis as an integer scaling
Posted: Mon Jun 30, 2014 12:18 pm
by ArctionPasi
Hi Felix,
xAxis.AutoFormatLabels = false;
xAxis.LabelsNumberFormat = "0";
does it work for you?
Re: Point Line Chart x-axis as an integer scaling
Posted: Mon Jun 30, 2014 12:33 pm
by Felix
Hello Pasi,
yes thank you it does.
But I get this error display.
- PointLineChart.PNG (19.58 KiB) Viewed 12741 times
Re: Point Line Chart x-axis as an integer scaling
Posted: Mon Jun 30, 2014 12:48 pm
by ArctionPasi
set axis.AutoDivSpacing = false.
and then set axis.MajorDiv = 1 or some other larger integer.
Re: Point Line Chart x-axis as an integer scaling
Posted: Mon Jun 30, 2014 1:05 pm
by Felix
Hello Pasi,
how can I hide the scaling lines?
- PointLineChart.PNG (15.31 KiB) Viewed 12739 times
Re: Point Line Chart x-axis as an integer scaling
Posted: Mon Jun 30, 2014 1:21 pm
by ArctionPasi
xAxis.MinorDivTickStyle.Visible = false