Esempio n. 1
0
 private void HandleAddSeries(AddSeries series)
 {
     if (!string.IsNullOrEmpty(series.Series.Name) && !_seriesIndex.ContainsKey(series.Series.Name))
     {
         _seriesIndex.Add(series.Series.Name, series.Series);
         _chart.Series.Add(series.Series);
     }
 }
        private void HandleAddSeries(AddSeries series)
        {
            if (!string.IsNullOrEmpty(series.Series.Name) && !seriesIndex.ContainsKey(series.Series.Name))
            {
                seriesIndex.Add(series.Series.Name, series.Series);
                chart.Series.Add(series.Series);

                SetChartBoundaries();
            }
        }
Esempio n. 3
0
        private void HandleAddSeries(AddSeries series)
        {
            if (string.IsNullOrEmpty(series.Series.Name) || _seriesIndex.ContainsKey(series.Series.Name))
            {
                return;
            }

            _seriesIndex.Add(series.Series.Name, series.Series);
            _chart.Series.Add(series.Series);

            SetChartBoundaries();
        }
Esempio n. 4
0
 private void HandleAddSeries(AddSeries addSeries)
 {
     if (!String.IsNullOrWhiteSpace(addSeries.Series.Name)
             && !_seriesIndex.ContainsKey(addSeries.Series.Name))
     {
         _seriesIndex.Add(addSeries.Series.Name, addSeries.Series);
         _chart.Series.Add(addSeries.Series);
         SetChartBoundaries();
     }
 }