public MyNumericAxisControl() { LabelProvider = new ExponentialLabelProvider(); TicksProvider = new NumericTicksProvider(); ConvertToDouble = d => d; Range = new Range <double>(0.0, 10.0); }
public NumericAxisControl() { LabelProvider = new ExponentialLabelProvider(); TicksProvider = new NumericTicksProvider(); PartsProvider = new NumericSinglePartProvider(); ConvertToDouble = d => d; Range = new Range <double>(0, 10); }
public ChartChildrenPlotter() { Children.RemoveAll(typeof(Legend)); Children.RemoveAll(typeof(DefaultContextMenu)); Children.RemoveAll(typeof(KeyboardNavigation)); Children.RemoveAll(typeof(AxisNavigation)); Children.RemoveAll(typeof(MouseNavigation)); var tp = new NumericTicksProvider(); //Visible = new DataRect(1, -15, 3.4, 30); MainVerticalAxis = new VerticalAxis { TicksProvider = tp, LabelProvider = new ToStringLabelProvider(), }; }