Group: Forum Members
Last Active: 11 Years Ago
Posts: 43,
Visits: 1
|
Hello. I use autoscale for OX axis like this: List dateTimeUnits = new List();
dateTimeUnits.Add(NDateTimeUnit.Second); dateTimeUnits.Add(NDateTimeUnit.Minute); dateTimeUnits.Add(NDateTimeUnit.Hour); dateTimeUnits.Add(NDateTimeUnit.Day); dateTimeUnits.Add(NDateTimeUnit.Month); dateTimeUnits.Add(NDateTimeUnit.Year);
var autoUnits = dateTimeUnits.ToArray();
dateConfigurator.MajorTickMode = MajorTickMode.AutoMaxCount;
dateConfigurator.InflateViewRangeBegin = false; dateConfigurator.InflateViewRangeEnd = true;
dateConfigurator.EnableUnitSensitiveFormatting = true; dateConfigurator.AutoDateTimeUnits = autoUnits; dateConfigurator.LabelValueFormatter = new NDateTimeValueFormatter("dd.MM HH:mm:ss"); The value format depends on graph's scale. How I can determine the current Date-time unit and value format in axes's properties?
|