public class Chart extends BaseOption
General options for the chart.
Copyright (c) 2018 Powerbuilt Systems. All rights reserved.Constructor and Description |
---|
Chart() |
Modifier and Type | Method and Description |
---|---|
Events |
events()
Event listeners for the chart.
|
Chart |
events(Events events)
Event listeners for the chart.
|
Events |
getEvents()
Event listeners for the chart.
|
Number |
getMarginRight()
The margin between the right outer edge of the chart and the plot area.
|
ChartType |
getType()
The default series type for the chart.
|
Number |
marginRight()
The margin between the right outer edge of the chart and the plot area.
|
Chart |
marginRight(Number marginRight)
The margin between the right outer edge of the chart and the plot area.
|
Chart |
setEvents(Events events)
Event listeners for the chart.
|
Chart |
setMarginRight(Number marginRight)
The margin between the right outer edge of the chart and the plot area.
|
Chart |
setType(ChartType type)
The default series type for the chart.
|
ChartType |
type()
The default series type for the chart.
|
Chart |
type(ChartType type)
The default series type for the chart.
|
set_hcNulledOption
public Events events()
Event listeners for the chart.
public Chart events(Events events)
Event listeners for the chart.
events
- the value for the events optionpublic Events getEvents()
Event listeners for the chart.
public Chart setEvents(Events events)
Event listeners for the chart.
events
- the value for the events optionpublic Number marginRight()
The margin between the right outer edge of the chart and the plot area. Use this to set a fixed pixel value for the margin as opposed to the default dynamic margin. See also spacingRight
.
public Chart marginRight(Number marginRight)
The margin between the right outer edge of the chart and the plot area. Use this to set a fixed pixel value for the margin as opposed to the default dynamic margin. See also spacingRight
.
marginRight
- the value for the marginRight optionpublic Number getMarginRight()
The margin between the right outer edge of the chart and the plot area. Use this to set a fixed pixel value for the margin as opposed to the default dynamic margin. See also spacingRight
.
public Chart setMarginRight(Number marginRight)
The margin between the right outer edge of the chart and the plot area. Use this to set a fixed pixel value for the margin as opposed to the default dynamic margin. See also spacingRight
.
marginRight
- the value for the marginRight optionpublic ChartType type()
The default series type for the chart. Can be any of the chart types listed under plotOptions.
public Chart type(ChartType type)
The default series type for the chart. Can be any of the chart types listed under plotOptions.
type
- the value for the type optionpublic ChartType getType()
The default series type for the chart. Can be any of the chart types listed under plotOptions.
public Chart setType(ChartType type)
The default series type for the chart. Can be any of the chart types listed under plotOptions.
type
- the value for the type optionCopyright © 2022. All rights reserved.