Vertical axis labels alignment

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Queue Moderators

Post Reply
matus
Posts: 24
Joined: Mon Sep 12, 2016 7:52 am

Vertical axis labels alignment

Post by matus » Fri Sep 30, 2016 8:37 am

Hello,
is there a way to align the labels on y-axis to the right for View3D same as for ViewXY?

View3D:
View3D
View3D
3dLabels.PNG (1.7 KiB) Viewed 28966 times
ViewXY:
ViewXY
ViewXY
2dLabels.PNG (1.45 KiB) Viewed 28966 times

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

Re: Vertical axis labels alignment

Post by ArctionPasi » Fri Sep 30, 2016 2:07 pm

Hi Matus,

In 3D, the labels are in outer side only.

How about setting View3D.YAxisPrimary3D.Location = FrontRight? Then the whole axis moves to right side, including the labels.
LightningChart Support Team, PT

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

Re: Vertical axis labels alignment

Post by ArctionPasi » Mon Oct 03, 2016 1:14 pm

I correct my answer. :oops: Set YAxisPrimary3D.MajorDivStyle.Alignment = Near. Then the ticks and labels shift inside the chart.
LightningChart Support Team, PT

matus
Posts: 24
Joined: Mon Sep 12, 2016 7:52 am

Re: Vertical axis labels alignment

Post by matus » Fri Oct 07, 2016 7:24 am

I tried it, it moves the labels, but they are centered anyway.
NearAlignment
NearAlignment
NearAlignment.PNG (2.81 KiB) Viewed 28935 times

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

Re: Vertical axis labels alignment

Post by ArctionPasi » Mon Oct 10, 2016 9:53 am

The centering thing will be changed in 7.2. The labels will be left-aligned in this case. It has a total redesign on the labels positioning logic.
LightningChart Support Team, PT

matus
Posts: 24
Joined: Mon Sep 12, 2016 7:52 am

Re: Vertical axis labels alignment

Post by matus » Mon Oct 10, 2016 12:48 pm

is there some estimated time for the release?

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

Re: Vertical axis labels alignment

Post by ArctionPasi » Mon Oct 10, 2016 1:34 pm

Late this week or next week.
LightningChart Support Team, PT

Post Reply