Example #1
0
        void OnVerticalAxisAlignmentComboBoxSelectedIndexChanged(NValueChangeEventArgs arg)
        {
            NModelCrossCartesianAxisAnchor anchor = m_Chart.Axes[ENCartesianAxis.PrimaryY].Anchor as NModelCrossCartesianAxisAnchor;

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

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