public class Function extends BaseOption implements Serializable
Maps to the Highcharts option Function data type.
Eg. chart.events.click
ref: https://api.highcharts.com/highcharts/chart.events.click
Constructor and Description |
---|
Function() |
Function(String functionBody)
Construct with a function body.
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String parameter)
Add parameters to the declaration of the Javascript function.
|
String |
getFunctionBody()
Get the function body.
|
String |
getRawValue()
Get the function as raw Javascript.
|
Function |
setFunctionBody(String functionBody)
Set the function body.
|
set_hcNulledOption
public Function()
public Function(String functionBody)
functionBody
- the function body.public String getRawValue()
public void addParameter(String parameter)
parameter
- the name of the parameter.public String getFunctionBody()
Copyright © 2022. All rights reserved.