else { return (SeriesDefinition) ((ChartWithoutAxes) chart).getSeriesDefinitions().get(0); }
return (SeriesDefinition) ((ChartWithoutAxes) chart).getSeriesDefinitions().get(0);
    private SeriesDefinition getBaseSeriesDefinitionForProcessing()    {        Chart chart = this;        if (chart instanceof ChartWithAxes)        {            return (SeriesDefinition) ((Axis) ((ChartWithAxes) chart).getAxes().get(0)).getSeriesDefinitions().get(0);        }        else        {            return (SeriesDefinition) ((ChartWithoutAxes) chart).getSeriesDefinitions().get(0);        }    }