ialexei / gwt-charts

Automatically exported from code.google.com/p/gwt-charts
0 stars 0 forks source link

Can't hide legend on GeoChart #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a GeoChartOptions
2. Setting for legend only takes a GeoChartLegend option, whereas the legend 
setting can also be the String 'none'

A suggested fix would be adding either to the GeoChartOptions :

public final native void setLegend(String legend) /*-{
        this.legend = legend;
}-*/;

public final native void hideLegend() /*-{
        this.legend = "none";
}-*/;

Original issue reported on code.google.com by jameslee...@gmail.com on 6 Aug 2012 at 8:57

GoogleCodeExporter commented 8 years ago
I'll go for the second option.

Original comment by rglafo...@gmail.com on 6 Aug 2012 at 1:54

GoogleCodeExporter commented 8 years ago

Original comment by rglafo...@gmail.com on 21 Aug 2012 at 1:17

GoogleCodeExporter commented 8 years ago

Original comment by rglafo...@gmail.com on 21 Aug 2012 at 2:45

GoogleCodeExporter commented 8 years ago

Original comment by rglafo...@gmail.com on 7 Dec 2012 at 12:06