Reference > Style examples > Duration formatting

Duration formatting

This style may be used on either the X or Y axis to format elapsed times as hours,mins,sec. Typically the data will be given in seconds or minutes.


sp.YAxisStyle = YAxisStyles.Duration;

The data will be formatted as 00:00 up to 59:59 then as 01:00:00 for all values. This allows this style to be used for seconds or minutes and labelled appropriately. Tickmarks, datumlines etc are given in the units of the data here.


Send comments on this topic
© Dyalog Ltd 2013