x axis major tick mark label text cutted

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

x axis major tick mark label text cutted

Post by Igor » Fri Jan 22, 2016 8:23 am

Hi,

it's me again :-)

I have one problem that the text of the major tick mark labels is partially cutted.
This depends on the zoom factor. Sometimes the complete time is displayed and at a different zoom factor it isn't.
What do i wrong?

# Zoom factor where the complete time is visible
complete.png
complete.png (21.19 KiB) Viewed 7552 times
# Zoom factor where the text is cutted
cutted.png
cutted.png (17.72 KiB) Viewed 7552 times
thank you very much
Igor

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Re: x axis major tick mark label text cutted

Post by Igor » Fri Jan 22, 2016 8:45 am

i use the "chartView.XAxes[0].DateTimeToAxisValue()" method to convert the DateTime to double value.

# the points i add to PointLineSeries
PointLineSeries_addPoints.png
PointLineSeries_addPoints.png (8.6 KiB) Viewed 7551 times

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

Re: x axis major tick mark label text cutted

Post by ArctionPasi » Fri Jan 22, 2016 2:49 pm

Set
xAxis.AutoFormatLabels = false
xAxis.LabelsTimeFormat = "HH:mm:ss"

That should help.
LightningChart Support Team, PT

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Re: x axis major tick mark label text cutted

Post by Igor » Tue Feb 02, 2016 9:37 am

yes, thank you

Post Reply