timestamp

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
huzhong
Posts: 4
Joined: Wed Apr 19, 2023 12:51 pm

timestamp

Post by huzhong » Thu Apr 20, 2023 10:42 am

The timestamp at the X axis below the crosshair when the mouse moves in tradingchart is vertical, can it be modified to be placed horizontally in any way?

Thank you

ArctionKestutis
Posts: 555
Joined: Mon Mar 14, 2016 9:22 am

Re: timestamp

Post by ArctionKestutis » Thu Apr 20, 2023 1:25 pm

That is default Axis' label orientation. There is no public TradingChart property to modify it.
It is possible to access it as internal chart object and modify angle or other style

Code: Select all

            var xLabel = _chart.GetInternalChart().ViewXY.Annotations[0];
However, it may become more difficult to maintain.

huzhong
Posts: 4
Joined: Wed Apr 19, 2023 12:51 pm

Re: timestamp

Post by huzhong » Thu Apr 20, 2023 4:31 pm

Thank you very much

Post Reply