Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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);
        }