public bool OnLegendButtonExit(int index, string legendName)
 {
     if (!SeriesHelper.ContainsSerie(chart.series, SerieType.Pie))
     {
         return(false);
     }
     if (!LegendHelper.IsSerieLegend(chart.series, legendName, SerieType.Pie))
     {
         return(false);
     }
     m_IsEnterPieLegendButtom = false;
     LegendHelper.CheckDataHighlighted(chart.series, legendName, false);
     chart.RefreshChart();
     return(true);
 }
 protected override void OnLegendButtonExit(int index, string legendName)
 {
     m_IsEnterLegendButtom = false;
     LegendHelper.CheckDataHighlighted(m_Series, legendName, false);
     RefreshChart();
 }