| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.moxieapps.gwt.highcharts.client.Configurable<T>
org.moxieapps.gwt.highcharts.client.plotOptions.PlotOptions<FlagPlotOptions>
org.moxieapps.gwt.highcharts.client.plotOptions.FlagPlotOptions
public class FlagPlotOptions
Represents the options for the Flags present on the chart.  The plot options for this class are to be instantiated
 into a Series.  Example usage:
 
     chart.addSeries(
          chart.createSeries()
              .setType(Series.FLAGS)
              .addPoint(t(2011), 5, 10)
              .setPlotOptions(
                  new FlagPlotOptions()
                      .setOnSeries("data")
              )
      );
 
| Nested Class Summary | |
|---|---|
| static class | FlagPlotOptions.ShapeAn enumeration representing the shape of the flag. | 
| Nested classes/interfaces inherited from class org.moxieapps.gwt.highcharts.client.plotOptions.PlotOptions | 
|---|
| PlotOptions.Cursor, PlotOptions.PointPlacement, PlotOptions.Stacking | 
| Constructor Summary | |
|---|---|
| FlagPlotOptions() | |
| Method Summary | |
|---|---|
|  FlagPlotOptions | setFillColor(Color fillColor)Convenience method for setting the 'fillColor' option of the flag, allowing for colors with opacity or gradients. | 
|  FlagPlotOptions | setFillColor(String fillColor)Convenience method for setting the 'fillColor' option of the flag to an RGB hex value. | 
|  FlagPlotOptions | setLineColor(Color lineColor)Convenience method for setting the 'lineColor' option of the flag, allowing for colors with opacity or gradients. | 
|  FlagPlotOptions | setLineColor(String lineColor)Convenience method for setting the 'lineColor' option of the flag to an RGB hex value. | 
|  FlagPlotOptions | setOnSeries(String onSeries)Convenience method for setting the 'onSeries' option of the flag. | 
|  FlagPlotOptions | setShape(FlagPlotOptions.Shape shape)Convenience method for setting the 'shape' option of the flag. | 
|  FlagPlotOptions | setStyle(Style style)Convenience method for setting the 'style' options of the flag. | 
|  FlagPlotOptions | setWidth(Number width)Convenience method for setting the 'width' option of the flag. | 
| Methods inherited from class org.moxieapps.gwt.highcharts.client.plotOptions.PlotOptions | 
|---|
| getDataLabels, setAllowPointSelect, setAnimation, setAnimation, setBaseDataLabels, setColor, setColor, setCropThreshold, setCursor, setDashStyle, setDataGrouping, setDataLabels, setEnableMouseTracking, setHoverStateEnabled, setHoverStateLineWidth, setHoverStateMarker, setId, setLegendIndex, setLineWidth, setLinkedTo, setLinkedTo, setMarker, setNegativeColor, setNegativeColor, setPointInterval, setPointPlacement, setPointStart, setSelected, setShadow, setShowCheckbox, setShowInLegend, setStacking, setStickyTracking, setThreshold, setTurboThreshold, setVisible, setZIndex, setZoneAxis, setZones | 
| Methods inherited from class org.moxieapps.gwt.highcharts.client.Configurable | 
|---|
| getOptions, setOption | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FlagPlotOptions()
| Method Detail | 
|---|
public FlagPlotOptions setFillColor(String fillColor)
     series.setOption("lineColor", "#CCCCCC");
 setFillColor(Color)
 version instead.
fillColor - The value to set as the 'lineColor' option on the chart.
FlagPlotOptions instance for convenient method chaining.setFillColor(Color)public FlagPlotOptions setFillColor(Color fillColor)
     series.setOption("lineColor", new Color()
        .setLinearGradient(0.0, 0.0, 1.0, 1.0)
        .addStop(new Color(255, 255, 255))
        .addStop(new Color(200, 200, 255))
     );
 setFillColor(String) version instead.
fillColor - The color gradient or color with an alpha channel to set as the 'borderColor' option on the chart.
FlagPlotOptions instance for convenient method chaining.public FlagPlotOptions setLineColor(String lineColor)
     series.setOption("lineColor", "#CCCCCC");
 setLineColor(Color)
 version instead.
lineColor - The value to set as the 'lineColor' option on the chart.
FlagPlotOptions instance for convenient method chaining.setLineColor(Color)public FlagPlotOptions setLineColor(Color lineColor)
     series.setOption("lineColor", new Color()
        .setLinearGradient(0.0, 0.0, 1.0, 1.0)
        .addStop(new Color(255, 255, 255))
        .addStop(new Color(200, 200, 255))
     );
 setLineColor(String) version instead.
lineColor - The color gradient or color with an alpha channel to set as the 'borderColor' option on the chart.
FlagPlotOptions instance for convenient method chaining.public FlagPlotOptions setOnSeries(String onSeries)
     series.setOption("onSeries", "seriesName")
 
onSeries - The id of the series that the flags should be drawn on
FlagPlotOptions instance for convenient method chaining.public FlagPlotOptions setShape(FlagPlotOptions.Shape shape)
     series.setOption("shape", "flag");
 
shape - The shape of the marker.
FlagPlotOptions instance for convenient method chaining.public FlagPlotOptions setStyle(Style style)
     series.setOption("/style/fontWeight", "bold");
     series.setOption("/style/fontFamily", "serif");
     etc.
 
style - CSS styles for the axis title.
FlagPlotOptions instance for convenient method chaining.public FlagPlotOptions setWidth(Number width)
     series.setOption("width", 10);
 
width - The width of the flag.
FlagPlotOptions instance for convenient method chaining.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||