void OnVerticalAxisAlignmentComboBoxSelectedIndexChanged(NValueChangeEventArgs arg) { NModelCrossCartesianAxisAnchor anchor = m_Chart.Axes[ENCartesianAxis.PrimaryY].Anchor as NModelCrossCartesianAxisAnchor; anchor.Alignment = (ENAxisCrossAlignment)((NComboBox)arg.TargetNode).SelectedIndex; }
void OnVerticalAxisOffsetUpDownValueChanged(NValueChangeEventArgs arg) { NModelCrossCartesianAxisAnchor anchor = m_Chart.Axes[ENCartesianAxis.PrimaryY].Anchor as NModelCrossCartesianAxisAnchor; anchor.Offset = ((NNumericUpDown)arg.TargetNode).Value; }