25 references to IndexOf
System.Web.DataVisualization (25)
Common\Annotation\AnnotationBase.cs (2)
3955 if(this.Chart.ChartAreas.IndexOf(this.AnchorDataPoint.series.ChartArea) >= 0) 3964 if(this.Chart.ChartAreas.IndexOf(this._anchorDataPoint2.series.ChartArea) >= 0)
Common\Annotation\AnnotationCollection.cs (1)
261int areaIndex = Chart.ChartAreas.IndexOf(annotation.ClipToChartArea);
Common\ChartTypes\BoxPlotChart.cs (1)
1593 if(control.Series.IndexOf(linkedSeriesName) == -1)
Common\ChartTypes\ErrorBarChart.cs (1)
1827 if(control.Series.IndexOf(linkedSeriesName) == -1)
Common\ChartTypes\KagiChart.cs (1)
132 if (chart.Series.IndexOf(tempSeriesName) != -1)
Common\ChartTypes\PointAndFigureChart.cs (1)
155 if (chart.Series.IndexOf(tempSeriesName) != -1)
Common\General\BaseCollections.cs (4)
303int index = this.IndexOf(name); 312int nameIndex = this.IndexOf(name); 423IndexOf(name) >= 0; 474else if (!IsUniqueName(item.Name) && IndexOf(item.Name) != index)
Common\General\Chart.cs (1)
3001if (this._chartAreas.IndexOf(area.AlignWithChartArea)<0)
Common\General\Legend.cs (3)
2078if (this.Common.ChartPicture.Legends.IndexOf(series.Legend)<0) 4737 if(this.Common.ChartPicture.ChartAreas.IndexOf(this.DockedToChartArea) >= 0) 4932if (legend.DockedToChartArea != Constants.NotSetValue && this.Chart.ChartAreas.IndexOf(legend.DockedToChartArea)<0)
Common\General\Selection.cs (8)
2072(this.ChartControl.Series.IndexOf(region.SeriesName) < 0 || region.PointIndex >= this.ChartControl.Series[region.SeriesName].Points.Count) 2333if (chart.Series.IndexOf(seriesName) >= 0 && 2346if (chart.Series.IndexOf(seriesName) >= 0 && 2589if (this.ChartControl.Series.IndexOf(seriesName) != -1) 2614if (this.ChartControl.Series.IndexOf(asSeries.Name) != -1) 2824if (this.ChartControl.ChartAreas.IndexOf(series.ChartArea) == -1) 2990if (ChartPicture.ChartAreas.IndexOf(areaName) != -1 && series.Enabled) 2995if (ChartControl.Series.IndexOf(series.Name) != -1)
Common\General\Title.cs (2)
1280 if(this.Chart.ChartAreas.IndexOf(this.DockedToChartArea) >= 0) 2077if (title.DockedToChartArea != Constants.NotSetValue && chartPicture.ChartAreas.IndexOf(title.DockedToChartArea)<0)