List of usage examples for com.google.gwt.visualization.client.visualizations.corechart Options setType
public final void setType(Type type)
From source file:com.jythonui.client.charts.CharContainer.java
License:Apache License
private Options startOpt() { Options o; switch (fo.getChartType()) { case PIE://from w w w. j a va 2 s .co m PieChart.PieOptions p = PieChart.PieOptions.create(); p.set3D(fo.isPie3D()); o = p; break; default: o = Options.create(); } o.setType(CoreChart.Type.valueOf(fo.getChartType().name())); return o; }