public void onModuleLoad() {
StyleInjector.inject(resources.pieChartCss().getText()
+ resources.colorListCss().getText(), true);
List<ColorCodedValue> data = new ArrayList<ColorCodedValue>();
data.add(new ColorCodedValue("A", 20, Color.LIGHT_GREY));
data.add(new ColorCodedValue("B", 20, Color.LIGHTGREEN));
data.add(new ColorCodedValue("C", 60, Color.INDIAN_RED));
Div div = new Div(Root.getContainer());
div.getElement().getStyle().setProperty("textAlign", "center");
Container container = new DefaultContainerImpl(div.getElement());