Example #1
0
 public LineFormatRenderer(LineFormat lineFormat, XGraphics gfx)
 {
     _lineFormat = lineFormat;
     _gfx = gfx;
 }
Example #2
0
        protected void FlattenAxis(Axis axis)
        {
            if (axis == null)
                return;

            LineFormat refLineFormat = new LineFormat();
            refLineFormat._width = 0.15;
            if (axis._hasMajorGridlines.Value && axis._majorGridlines != null)
                FlattenLineFormat(axis._majorGridlines._lineFormat, refLineFormat);
            if (axis._hasMinorGridlines.Value && axis._minorGridlines != null)
                FlattenLineFormat(axis._minorGridlines._lineFormat, refLineFormat);

            refLineFormat._width = 0.4;
            if (axis._lineFormat != null)
                FlattenLineFormat(axis._lineFormat, refLineFormat);

            //      axis.majorTick;
            //      axis.majorTickMark;
            //      axis.minorTick;
            //      axis.minorTickMark;

            //      axis.maximumScale;
            //      axis.minimumScale;

            //      axis.tickLabels;
            //      axis.title;
        }
Example #3
0
 public LineFormatRenderer(LineFormat lineFormat, XGraphics gfx)
 {
   this.lineFormat = lineFormat;
   this.gfx = gfx;
 }
Example #4
0
 protected void FlattenLineFormat(LineFormat lineFormat, LineFormat refLineFormat)
 {
     if (refLineFormat != null)
     {
         if (lineFormat._width.IsNull)
             lineFormat._width = refLineFormat._width;
     }
 }