Пример #1
0
        void OnVerticalAxisAlignmentComboBoxSelectedIndexChanged(NValueChangeEventArgs arg)
        {
            NModelCrossCartesianAxisAnchor anchor = m_Chart.Axes[ENCartesianAxis.PrimaryY].Anchor as NModelCrossCartesianAxisAnchor;

            anchor.Alignment = (ENAxisCrossAlignment)((NComboBox)arg.TargetNode).SelectedIndex;
        }
Пример #2
0
        void OnVerticalAxisOffsetUpDownValueChanged(NValueChangeEventArgs arg)
        {
            NModelCrossCartesianAxisAnchor anchor = m_Chart.Axes[ENCartesianAxis.PrimaryY].Anchor as NModelCrossCartesianAxisAnchor;

            anchor.Offset = ((NNumericUpDown)arg.TargetNode).Value;
        }