Page 1 of 1

timestamp

Posted: Thu Apr 20, 2023 10:42 am
by huzhong
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

Re: timestamp

Posted: Thu Apr 20, 2023 1:25 pm
by ArctionKestutis
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.

Re: timestamp

Posted: Thu Apr 20, 2023 4:31 pm
by huzhong
Thank you very much