Exemple #1
0
        /// <summary>
        ///     Метод вызова события <see cref="LegendSelected" />
        /// </summary>
        /// <param name="e"></param>
        protected virtual void OnSelectedLegendChanged(LegendSelectedEventArgs e)
        {
            EventHandler <LegendSelectedEventArgs> handler = LegendSelected;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 /// <summary>Обработчик события при выборе легенды.</summary>
 private void LegendSelected(object sender, LegendSelectedEventArgs e)
 {
     SelectedSeries = e.SelectedSeries;
     AdjustCursorPosition();
 }