Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java JavaScript
branch: master

D3 Chart widgets for RAP

Experimental chart widgets for RAP using the d3 library.

You can see the demo online.


There's an abstract base class Chart with subtypes for different chart types like PieChart, BarChart etc. Data is added as separate ChartItems, each with its value, color, text, etc.


PieChart pieChart = new PieChart( composite, SWT.NONE );
pieChart.setInnerRadius( 0.6f );

ChartItem item1 = new ChartItem( pieChart );
item1.setText( "Firefox" );
item1.setColor( colors.get( 0 ) );
item1.setValue( 23 );
Something went wrong with that request. Please try again.