private LinearTickLabelFormator GetTickLabelFormator() { if (tickLabelFormator == null) { tickLabelFormator = new LinearTickLabelFormator(new Typeface(AxisModel.FontFamily, AxisModel.FontStyle, AxisModel.FontWeight, AxisModel.FontStretch), System.Windows.FlowDirection.LeftToRight, AxisModel.FontSize, AxisModel.LabelBrush) { CustomFormatter = AxisModel.CustomFormatter, }; } return(tickLabelFormator); }
private void InitialzeTicks() { mayorTickInfos = null; mayorTickLabels = null; minorTickInfos = null; tickLabelFormator = null; titleLabelFormator = null; UpdateAxisScale(); }