Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » new DataSetProcessor for Venn-Diagram ?
new DataSetProcessor for Venn-Diagram ? [message #468293] Tue, 04 August 2009 22:01 Go to next message
Karsten Knese is currently offline Karsten KneseFriend
Messages: 2
Registered: July 2009
Junior Member
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.
Re: new DataSetProcessor for Venn-Diagram ? [message #468314 is a reply to message #468293] Wed, 05 August 2009 01:44 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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.
>
>
Previous Topic:Need a solution for creating tables on pdf report at runtime
Next Topic:Inconsistenty between Pheonix ROM and BIRT 2.5 ?
Goto Forum:
  


Current Time: Fri Mar 29 11:29:39 GMT 2024

Powered by FUDForum. Page generated in 0.02649 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top