private void CreateSeries()
{
int rowStart=this.TableData .startcell .rowIndex ;
int rowEnd = this.TableData .endcell .rowIndex ;
int colStart= this.TableData .startcell .columnIndex ;
int colEnd = this.TableData .endcell .columnIndex ;
if (this.ChartPlotArea .PlotAreaStyle .PlotAreaProperties .SeriesSource =="rows")
{
CreateSingleSeries(rowStart,rowEnd,colStart,colEnd);
}
if (this.ChartPlotArea .PlotAreaStyle .PlotAreaProperties .SeriesSource =="columns")
{
CreateSingleSeries(colStart,colEnd,rowStart,rowEnd);
}
}