Esempio n. 1
0
 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);
 }
Esempio n. 2
0
        private void InitialzeTicks()
        {
            mayorTickInfos  = null;
            mayorTickLabels = null;

            minorTickInfos = null;

            tickLabelFormator  = null;
            titleLabelFormator = null;

            UpdateAxisScale();
        }