List of usage examples for com.google.gwt.visualization.client Color3D create
public static Color3D create()
From source file:com.tasktop.c2c.server.profile.web.ui.client.graphs.CommitsByAuthorPieChart.java
License:Open Source License
private Color3D[] getPallete() { Color3D[] result = new Color3D[dashboardChartConstants.getColorPalette().length]; int i = 0;/*from w ww . j av a 2 s .c o m*/ for (String color : dashboardChartConstants.getColorPalette()) { Color3D c = Color3D.create(); c.setShadeColor("black"); c.setFaceColor(color); result[i++] = c; } return result; }