Specifying a format for labels when EnableUnitSensitiveFormatting is true


https://www.nevron.com/Forum/Topic11908.aspx
Print Topic | Close Window

By Irina - 8 Years Ago
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 - 8 Years Ago
Hi Irina,
Yes - the following code shows how to change the formatting of Year date time units:
dtScale.DateTimeUnitFormatterPairs.YearFormatter.FormatSpecifier = "yyyy";
By Irina - 8 Years Ago
Thank you!