org.moxieapps.gwt.highcharts.client
Class Highcharts.Options

java.lang.Object
  extended by org.moxieapps.gwt.highcharts.client.Configurable<Highcharts.Options>
      extended by org.moxieapps.gwt.highcharts.client.Highcharts.Options
Enclosing class:
Highcharts

public static class Highcharts.Options
extends Configurable<Highcharts.Options>

A configurable class that can be used to globally configure options for Highcharts. These options should be configured prior to the initialization of any chart instance.

Example usage:

   Highcharts.setOptions(
     new Highcharts.Options().setGlobal(
         new Global()
           .setUseUTC(false)
   ));
 

Since:
1.4.0
Author:
myersj@gmail.com (Jeff Myers)

Constructor Summary
Highcharts.Options()
           
 
Method Summary
 Highcharts.Options setGlobal(Global global)
          Set the global options to use on all Highchart instances.
 Highcharts.Options setLang(Lang lang)
          Set the language options to use on all Highchart instances.
 
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

Highcharts.Options

public Highcharts.Options()
Method Detail

setGlobal

public Highcharts.Options setGlobal(Global global)
Set the global options to use on all Highchart instances.

Parameters:
global - the global configuration options
Returns:
A reference to this Highcharts.Options instance for convenient method chaining.

setLang

public Highcharts.Options setLang(Lang lang)
Set the language options to use on all Highchart instances.

Parameters:
lang - the language configuration options
Returns:
A reference to this Highcharts.Options instance for convenient method chaining.


Copyright © 2015. All Rights Reserved.