public NumericAxisControl() { LabelProvider = new ExponentialLabelProvider(); TicksProvider = new NumericTicksProvider(); ConvertToDouble = d => d; Range = new Range <double>(0, 10); }
public override LabelProviderBase <double> Clone() { ExponentialLabelProvider n = base.MemberwiseClone() as ExponentialLabelProvider; n.allocatedTextBlocksList = new List <TextBlock>(); n.allocatedFrameworkElementsList = new List <FrameworkElement>(); n.allocatedTextBlocksCount = 0; return(n as LabelProviderBase <double>); }