|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.wickedcharts.highcharts.options.util.OptionsUtil
public class OptionsUtil
| Method Summary | |
|---|---|
void |
copyRenderTo(Options from,
Options to)
Copies the renderTo configuration from one Options object to
another. |
static Axis |
getAxisWithWickedChartsId(Options options,
int wickedChartsId)
|
static OptionsUtil |
getInstance()
|
static Point |
getPointWithWickedChartsId(Options options,
int wickedChartsId)
Retrieves the Point object with the given wickedChartsId from the
given Options object. |
static Series<?> |
getSeriesWithWickedChartsId(Options options,
int wickedChartsId)
Retrieves the Series object with the given wickedChartsId from the
given Options object. |
static boolean |
needsExportingJs(Options options)
Checks if the specified Options object needs the javascript file "exporting.js" to work properly. |
static boolean |
needsHighchartsMoreJs(Options options)
Checks if the specified Options object needs the javascript file "highcharts-more.js" to work properly. |
void |
setChartEventsLoad(Options options,
Function function)
Null-safe setter for the chart.events.load configuration. |
void |
setRenderTo(Options options,
String renderTo)
Null-safe setter for the renderTo configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OptionsUtil getInstance()
public void copyRenderTo(Options from,
Options to)
Options object to
another. Null-safe.
public void setRenderTo(Options options,
String renderTo)
public void setChartEventsLoad(Options options,
Function function)
public static boolean needsHighchartsMoreJs(Options options)
options - the Options object to analyze
public static boolean needsExportingJs(Options options)
options - the Options object to analyze
public static Series<?> getSeriesWithWickedChartsId(Options options,
int wickedChartsId)
Series object with the given wickedChartsId from the
given Options object. Returns null if a Series with the given ID
does not exist.
public static Point getPointWithWickedChartsId(Options options,
int wickedChartsId)
Point object with the given wickedChartsId from the
given Options object. Returns null if a Point with the given ID
does not exist.
public static Axis getAxisWithWickedChartsId(Options options,
int wickedChartsId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||