private void CreateAxis(long id, AxisPosition pos) { this.ctValAx = this.chart.GetCTChart().plotArea.AddNewValAx(); this.ctValAx.AddNewAxId().val = (uint)id; this.ctValAx.AddNewAxPos(); this.ctValAx.AddNewScaling(); this.ctValAx.AddNewCrossBetween(); this.ctValAx.AddNewCrosses(); this.ctValAx.AddNewCrossAx(); this.ctValAx.AddNewTickLblPos().val = ST_TickLblPos.nextTo; this.SetPosition(pos); this.SetOrientation(AxisOrientation.MIN_MAX); this.SetCrossBetween(AxisCrossBetween.MIDPOINT_CATEGORY); this.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; 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; 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); }
public XSSFValueAxis(XSSFChart chart, CT_ValAx ctValAx) : base(chart) { this.ctValAx = ctValAx; }