Example usage for com.google.gwt.visualization.client Color3D setShadeColor

List of usage examples for com.google.gwt.visualization.client Color3D setShadeColor

Introduction

In this page you can find the example usage for com.google.gwt.visualization.client Color3D setShadeColor.

Prototype

public final Color3D setShadeColor(String shadeColor) 

Source Link

Document

Color to use to shade the visualization.

Usage

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  w  w  .  j a  va  2 s.  co m
    for (String color : dashboardChartConstants.getColorPalette()) {
        Color3D c = Color3D.create();
        c.setShadeColor("black");
        c.setFaceColor(color);
        result[i++] = c;
    }
    return result;
}