private TitleLabelFormator GetTitleLabelFormator()
 {
     if (titleLabelFormator == null)
     {
         titleLabelFormator = new TitleLabelFormator(new Typeface(AxisModel.FontFamily, AxisModel.FontStyle, AxisModel.FontWeight, AxisModel.FontStretch), System.Windows.FlowDirection.LeftToRight, AxisModel.TitleFontSize, AxisModel.TitleBrush)
         {
             CustomFormatter = AxisModel.TitleCustomFormatter,
         };
     }
     return(titleLabelFormator);
 }
Ejemplo n.º 2
0
        private void InitialzeTicks()
        {
            mayorTickInfos  = null;
            mayorTickLabels = null;

            minorTickInfos = null;

            tickLabelFormator  = null;
            titleLabelFormator = null;

            UpdateAxisScale();
        }