public abstract class PlotOptions extends Options
The plotOptions is a wrapper object for config objects for each series type. The config objects for each series can also be overridden for each series item as given in the series array. Configuration options for the series are given in three levels. Options for all series in a chart are given in the plotOptions.series object. Then options for all series of a specific type are given in the plotOptions of that type, for example plotOptions.line. Next, options for one single series are given in the series array.
| Modifier and Type | Field and Description |
|---|---|
Boolean |
allowPointSelect
Allow this series' points to be selected by clicking on the markers, bars or pie slices.
|
Boolean |
animation
Enable or disable the initial animation when a series is displayed.
|
String |
color
The main color or the series.
|
Boolean |
colorByPoint
When using automatic point colors pulled from the options.colors collection, this option
determines whether the chart should receive one color per series or one color per point.
|
List<String> |
colors
A series specific or series type specific color set to apply instead of the global colors
when colorByPoint is true.
|
Boolean |
connectEnds
Polar charts only.
|
Boolean |
connectNulls
Whether to connect a graph line across null points.
|
Double |
cropThreshold
When the series contains less points than the crop threshold, all points are drawn, event if
the points fall outside the visible plot area at the current zoom.
|
String |
cursor
You can set the cursor to "pointer" if you have click events attached to the series, to
signal to the user that the points and lines can be clicked.
|
DashStyle |
dashStyle
A name for the dash style to use for the graph.
|
DataLabelOptions |
dataLabels
Options for data labels.
|
Boolean |
enableMouseTracking
Enable or disable the mouse tracking for a specific series.
|
String |
id
An id for the series.
|
Integer |
lineWidth
Pixel with of the graph line.
|
String |
linkedTo
The id of another series to link to.
|
MarkerOptions |
marker
Options for point markers.
|
String |
negativeColor
The color for the parts of the graph or points that are below the threshold.
|
Double |
pointInterval
If no x values are given for the points in a series, pointInterval defines the interval of
the x values.
|
String |
pointPlacement
Possible values: null, "on", "between".
|
Double |
pointStart
If no x values are given for the points in a series, pointStart defines on what value to
start.
|
Boolean |
selected
Whether to select the series initially.
|
Object |
shadow
Boolean value whether to apply a drop shadow to the graph line.
|
Boolean |
showCheckbox
If true, a checkbox is displayed next to the legend item to allow selecting the series.
|
Boolean |
showInLegend
Whether to display this particular series or series type in the legend.
|
String |
stacking
Whether to stack the values of each series on top of each other.
|
Boolean |
stickyTracking
Sticky tracking of mouse events.
|
Double |
threshold
The threshold, also called zero level or base level.
|
TooltipOptions |
tooltip
A configuration object for the tooltip rendering of each single series.
|
Integer |
turboThreshold
When a series contains a data array that is longer than this, only one dimensional arrays of
numbers, or two dimensional arrays with x and y values are allowed.
|
protected String |
type
The text identifier of the plot type.
|
Boolean |
visible
Set the initial visibility of the series.
|
Integer |
zIndex
Define the z index of the series.
|
| Constructor and Description |
|---|
PlotOptions() |
| Modifier and Type | Method and Description |
|---|---|
OptionMap |
toMap()
If type is not null, place options under a submap indexed by the type id.
|
protected transient String type
public Boolean allowPointSelect
public Boolean animation
duration The duration of the animation in milliseconds. easing When using jQuery as the set to linear or swing. More easing functions are available with the use of jQuery plug-ins, most notably the jQuery UI suite. See the jQuery docs. When using MooToos as the general framework, use the property name transition instead of easing.For polar charts, the animation is disabled in legacy IE browsers. Defaults to true.
public String color
public Boolean colorByPoint
public List<String> colors
public Boolean connectEnds
public Boolean connectNulls
public Double cropThreshold
public String cursor
public DashStyle dashStyle
public final DataLabelOptions dataLabels
DataLabelOptionspublic Boolean enableMouseTracking
public String id
public Integer lineWidth
public String linkedTo
public final MarkerOptions marker
MarkerOptionspublic String negativeColor
public Double pointInterval
public String pointPlacement
public Double pointStart
public Boolean selected
public Object shadow
ShadowOptionspublic Boolean showCheckbox
public Boolean showInLegend
public String stacking
public Boolean stickyTracking
public Double threshold
public final TooltipOptions tooltip
public Integer turboThreshold
public Boolean visible
public Integer zIndex
public OptionMap toMap()
toMap in interface OptionMap.IOptionMapConvertertoMap in class OptionsCopyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.