public class SplinePlotOptions extends PlotOptions<SplinePlotOptions>
BaseChart.setSplinePlotOptions(SplinePlotOptions) )} method or directly on a
series via the Series.setPlotOptions(PlotOptions) method.
Note that these options are only needed if you want to specifically control the general options
for all spline type series in the entire chart. If you instead want to control the options for all
series in the chart (not just those of a spline type), then you can use the SeriesPlotOptions
class instead. Or, if you want to control the plot options for just one series (and not all spline type
series in the chart), use the Series.setPlotOptions(PlotOptions) method.PlotOptions.Cursor, PlotOptions.PointPlacement, PlotOptions.Stacking| Constructor and Description |
|---|
SplinePlotOptions() |
| Modifier and Type | Method and Description |
|---|---|
SplinePlotOptions |
setConnectNulls(boolean connectNulls)
Convenience method for setting the 'connectNulls' option for the chart.
|
SplinePlotOptions |
setGapSize(Number gapSize)
Convenience Method for setting the "gapSize" option of the plot options.
|
getDataLabels, setAllowPointSelect, setAnimation, setAnimation, setBaseDataLabels, setColor, setColor, setCropThreshold, setCursor, setDashStyle, setDataGrouping, setDataLabels, setEnableMouseTracking, setHoverStateEnabled, setHoverStateLineWidth, setHoverStateMarker, setId, setLegendIndex, setLineWidth, setLinkedTo, setLinkedTo, setMarker, setNegativeColor, setNegativeColor, setPointInterval, setPointPlacement, setPointStart, setSelected, setShadow, setShowCheckbox, setShowInLegend, setStacking, setStickyTracking, setThreshold, setTurboThreshold, setVisible, setZIndex, setZoneAxis, setZonesgetOptions, setOptionpublic SplinePlotOptions setGapSize(Number gapSize)
splinePlotOptions.setOption("gapSize", 5);
Defines when to display a gap in the graph. A gap size of 5 means that if the distance between two points is
greater than five times that of the two closest points, the graph will be broken.In practice, this option is
most often used to visualize gaps in time series. In a stock chart, intraday data is available for daytime hours,
while gaps will appear in nights and weekends.. Defaults to 0.gapSize - The distance between points needed to display a gap in the series.SplinePlotOptions instance for convenient method chaining.public SplinePlotOptions setConnectNulls(boolean connectNulls)
splinePlotOptions.setOption("connectNulls", true);
Whether to draw a line between points on either side of a null point, or render a gap between them.connectNulls - 'true' to connect points on either side of a null pointSplinePlotOptions instance for convenient method chaining.Copyright © 2015. All Rights Reserved.