Page 1 of 1

Relative time on x axis independent of used language

Posted: Tue Oct 25, 2016 7:45 am
by Igor
hi,

my chart uses 2 x-axes. One axis is hidden and the other axis has static range which shows relative time.

The x-axis config:
xAxis.AutoFormatLabels = true;
xAxis.ValueType = AxisValueType.Time;

In the german format the axis range starts with zero hour and count up as expected.
# range of 60 sec
1_German_60s.png
1_German_60s.png (26.04 KiB) Viewed 9858 times
# range above 60 sec
2_German_61s.png
2_German_61s.png (26.6 KiB) Viewed 9858 times
In english format the range starts with 12.
# range above of 60 sec
4_English_61s.png
4_English_61s.png (25.86 KiB) Viewed 9858 times
Is it possible to start with zero hour independent of used language?

thank you very much
Igor

Re: Relative time on x axis independent of used language

Posted: Tue Oct 25, 2016 3:17 pm
by ArctionPasi
Hello

Please use set axis.AutoFormatLabels = False, and use axis.FormatValueLabel event handler to show it in the format you prefer.