public class OptionsUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
copyRenderTo(Options from,
Options to)
Copies the renderTo configuration from one
Options object to
another. |
static OptionsUtil |
getInstance() |
static Point |
getPointWithWickedChartsId(Options options,
int wickedChartsId)
|
static Series<?> |
getSeriesWithWickedChartsId(Options options,
int wickedChartsId)
|
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.
|
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 analyzepublic static boolean needsExportingJs(Options options)
options - the Options object to analyzepublic static Series<?> getSeriesWithWickedChartsId(Options options, int wickedChartsId)
Copyright © 2013. All Rights Reserved.