|
Re: new DataSetProcessor for Venn-Diagram ? [message #468314 is a reply to message #468293] |
Wed, 05 August 2009 01:44 |
|
Karsten,
Look at the stock data set which adds more points to a dataset.
Jason
Karsten Knese wrote:
> I'm implementing a venn-diagram. There are first screenshots, but I got
> problems by adding more than one dataset to the venn-seriesdefinition.
>
>
> Code:
> NumberDataSet seriesOneValues = NumberDataSetImpl.create( new
> double[]{1,3,5} );
> NumberDataSet seriesTwoValues = NumberDataSetImpl.create( new
> double[]{2,3,7} );
> NumberDataSet seriesThreeValues = NumberDataSetImpl.create( new
> double[]{1,3,8} );
>
> is there a chance to add all three datasets? I just found a single
> set-method.
>
> Code:
> void org.eclipse.birt.chart.model.component.Series.setDataSet(Dat aSet
> dataSet)
>
>
> So my next idea was to create a new DatasetProcessor.
>
> What are the necessary classes to implement?
> - VennDataSetProcessorImpl extends DataSetAdapter
> - VennDataPointDefinition extends AbstractDataPointDefinition
> - VennEntry implements IDataPointEntry
>
>
> Is this the right way to go further? Hope finding answers.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03664 seconds