Nevron Forum

Specifying a format for labels when EnableUnitSensitiveFormatting is true

https://www.nevron.com/Forum/Topic11908.aspx

By Irina - Sunday, October 23, 2016

Hi,
Is it possible to specify a format for values displayed at the axis major ticks when EnableUnitSensitiveFormatting is true?
Thank you
By Nevron Support - Monday, October 24, 2016

Hi Irina,
Yes - the following code shows how to change the formatting of Year date time units:
dtScale.DateTimeUnitFormatterPairs.YearFormatter.FormatSpecifier = "yyyy";
By Irina - Monday, October 24, 2016

Thank you!