sdY.getQuery().setDefinition("MyExpression(Table.Column)");
sdY.getQuery().setDefinition("Expr(\"Column\")");
    public Chart getModel(String sSubType, Orientation orientation, String sDimension)    {        if (newChart == null)        {            newChart = ChartWithoutAxesImpl.create();            newChart.setType(sType);            newChart.setSubType(sSubType);            newChart.setDimension(getDimensionFor(sDimension));        }        else        {            return newChart;        }        newChart.getTitle().getLabel().getCaption().setValue("Pie Chart Title");        SeriesDefinition sdX = SeriesDefinitionImpl.create();        Series categorySeries = SeriesImpl.create();        sdX.getSeries().add(categorySeries);        sdX.getQuery().setDefinition("Base Series");        SeriesDefinition sdY = SeriesDefinitionImpl.create();        sdY.getQuery().setDefinition("MyExpression(Table.Column)");        sdY.getSeriesPalette().update(0);        Series valueSeries = PieSeriesImpl.create();        valueSeries.getLabel().setVisible(true);        valueSeries.setSeriesIdentifier("valueSeriesIdentifier");        ((PieSeries) valueSeries).getTitle().getCaption().setValue("valueSeries");        ((PieSeries) valueSeries).setStacked(false);        sdY.getSeries().add(valueSeries);        sdX.getSeriesDefinitions().add(sdY);        newChart.getSeriesDefinitions().add(sdX);        return newChart;    }