private void CreateAxis(long id, AxisPosition pos) { ctValAx = chart.GetCTChart().plotArea.AddNewValAx(); ctValAx.AddNewAxId().val = (uint)id; ctValAx.AddNewAxPos(); ctValAx.AddNewScaling(); ctValAx.AddNewCrossBetween(); ctValAx.AddNewCrosses(); ctValAx.AddNewCrossAx(); ctValAx.AddNewTickLblPos().val = ST_TickLblPos.nextTo; SetPosition(pos); SetOrientation(AxisOrientation.MinToMax); SetCrossBetween(AxisCrossBetween.MidpointCategory); SetCrosses(AxisCrosses.AutoZero); }
private void CreateAxis(long id, AxisPosition pos) { ctValAx = chart.GetCTChart().plotArea.AddNewValAx(); ctValAx.AddNewAxId().val = (uint)id; ctValAx.AddNewAxPos(); ctValAx.AddNewScaling(); ctValAx.AddNewCrossBetween(); ctValAx.AddNewCrosses(); ctValAx.AddNewCrossAx(); ctValAx.AddNewTickLblPos().val = ST_TickLblPos.nextTo; SetPosition(pos); SetOrientation(AxisOrientation.MIN_MAX); SetCrossBetween(AxisCrossBetween.MIDPOINT_CATEGORY); SetCrosses(AxisCrosses.AUTO_ZERO); }
private void CreateAxis(long id, AxisPosition pos) { ctValAx = chart.GetCTChart().plotArea.AddNewValAx(); ctValAx.AddNewAxId().val = (uint)id; ctValAx.AddNewAxPos(); ctValAx.AddNewScaling(); ctValAx.AddNewCrossBetween(); ctValAx.AddNewCrosses(); ctValAx.AddNewCrossAx(); ctValAx.AddNewTickLblPos().val = ST_TickLblPos.nextTo; ctValAx.AddNewDelete(); ctValAx.AddNewMajorTickMark(); ctValAx.AddNewMinorTickMark(); Position=(pos); Orientation=(AxisOrientation.MinToMax); SetCrossBetween(AxisCrossBetween.MidpointCategory); Crosses=(AxisCrosses.AutoZero); IsVisible=(true); MajorTickMark = (AxisTickMark.Cross); MinorTickMark=(AxisTickMark.None); }