public class PlotOptionsFunnel extends PyramidOptions
modules/funnel.js file is loaded.| Constructor and Description |
|---|
PlotOptionsFunnel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColor(Color color)
Adds color to the colors array
|
void |
addKey(String key)
Adds key to the keys array
|
void |
addZone(Zones zone)
Adds zone to the zones array
|
Boolean |
getAllowPointSelect() |
Number |
getAnimationLimit() |
Color |
getBorderColor() |
Number |
getBorderWidth() |
String[] |
getCenter() |
ChartType |
getChartType() |
String |
getClassName() |
Boolean |
getClip() |
Number |
getColorIndex() |
String |
getColorKey() |
Color[] |
getColors() |
Boolean |
getCrisp() |
Cursor |
getCursor() |
DataLabelsFunnel |
getDataLabels() |
Number |
getDepth() |
String |
getDescription() |
Boolean |
getEnableMouseTracking() |
Boolean |
getExposeElementToA11y() |
Dimension |
getFindNearestPointBy() |
Boolean |
getGetExtremesFromAll() |
String |
getHeight() |
Boolean |
getIgnoreHiddenPoint() |
String[] |
getKeys() |
String |
getLinkedTo() |
Number |
getMinSize() |
String |
getNeckHeight() |
String |
getNeckWidth() |
Number |
getOpacity() |
String |
getPointDescriptionFormatter() |
Boolean |
getReversed() |
Boolean |
getSelected() |
Boolean |
getShadow() |
Boolean |
getShowInLegend() |
Boolean |
getSkipKeyboardNavigation() |
Number |
getSlicedOffset() |
States |
getStates() |
Boolean |
getStickyTracking() |
SeriesTooltip |
getTooltip() |
Boolean |
getVisible() |
String |
getWidth() |
ZoneAxis |
getZoneAxis() |
Zones[] |
getZones() |
void |
removeColor(Color color)
Removes first occurrence of color in colors array
|
void |
removeKey(String key)
Removes first occurrence of key in keys array
|
void |
removeZone(Zones zone)
Removes first occurrence of zone in zones array
|
void |
setAllowPointSelect(Boolean allowPointSelect)
Allow this series' points to be selected by clicking on the markers, bars
or pie slices.
|
void |
setAnimationLimit(Number animationLimit)
For some series, there is a limit that shuts down initial animation by
default when the total number of points in the chart is too high.
|
void |
setBorderColor(Color borderColor)
The color of the border surrounding each slice.
|
void |
setBorderWidth(Number borderWidth)
The width of the border surrounding each slice.
|
void |
setCenter(String[] center)
The center of the series.
|
void |
setCenter(String x,
String y) |
void |
setClassName(String className)
A class name to apply to the series' graphical elements.
|
void |
setClip(Boolean clip)
Disable this option to allow series rendering in the whole plotting area.
|
void |
setColorIndex(Number colorIndex)
Styled mode only.
|
void |
setColorKey(String colorKey)
Determines what data value should be used to calculate point color if
colorAxis is used. |
void |
setColors(Color... colors)
A series specific or series type specific color set to use instead of the
global colors.
|
void |
setCrisp(Boolean crisp)
When true, each point or column edge is rounded to its nearest pixel in
order to render sharp on screen.
|
void |
setCursor(Cursor 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.
|
void |
setDataLabels(DataLabelsFunnel dataLabels)
Specific data labels configuration for a series type
|
void |
setDepth(Number depth)
The thickness of a 3D pie.
|
void |
setDescription(String description)
Requires Accessibility module
|
void |
setEnableMouseTracking(Boolean enableMouseTracking)
Enable or disable the mouse tracking for a specific series.
|
void |
setExposeElementToA11y(Boolean exposeElementToA11y)
By default, series are exposed to screen readers as regions.
|
void |
setFindNearestPointBy(Dimension findNearestPointBy)
Determines whether the series should look for the nearest point in both
dimensions or just the x-dimension when hovering the series.
|
void |
setGetExtremesFromAll(Boolean getExtremesFromAll)
Whether to use the Y extremes of the total chart width or only the zoomed
area when zooming in on parts of the X axis.
|
void |
setHeight(String height)
The height of the funnel or pyramid.
|
void |
setIgnoreHiddenPoint(Boolean ignoreHiddenPoint)
This option tells whether the series shall be redrawn as if the hidden
point were null.
|
void |
setKeys(String... keys)
An array specifying which option maps to which key in the data point
array.
|
void |
setLinkedTo(String linkedTo)
The id of another series to link to.
|
void |
setMinSize(Number minSize)
The minimum size for a pie in response to auto margins.
|
void |
setNeckHeight(String neckHeight)
The height of the neck, the lower part of the funnel.
|
void |
setNeckWidth(String neckWidth)
The width of the neck, the lower part of the funnel.
|
void |
setOpacity(Number opacity)
Opacity of a series parts: line, fill (e.g.
|
void |
setPointDescriptionFormatter(String _fn_pointDescriptionFormatter) |
void |
setReversed(Boolean reversed)
A reversed funnel has the widest area down.
|
void |
setSelected(Boolean selected)
Whether to select the series initially.
|
void |
setShadow(Boolean shadow)
Whether to apply a drop shadow to the graph line.
|
void |
setShowInLegend(Boolean showInLegend)
Whether to display this particular series or series type in the legend.
|
void |
setSkipKeyboardNavigation(Boolean skipKeyboardNavigation)
If set to
True, the accessibility module will skip past the
points in this series for keyboard navigation. |
void |
setSlicedOffset(Number slicedOffset)
If a point is sliced, moved out from the center, how many pixels should
it be moved?.
|
void |
setStates(States states)
A wrapper object for all the series options in specific states.
|
void |
setStickyTracking(Boolean stickyTracking)
Sticky tracking of mouse events.
|
void |
setTooltip(SeriesTooltip tooltip)
A configuration object for the tooltip rendering of each single series.
|
void |
setVisible(Boolean visible)
Set the initial visibility of the series.
|
void |
setWidth(String width)
The width of the funnel compared to the width of the plot area, or the
pixel width if it is a number.
|
void |
setZoneAxis(ZoneAxis zoneAxis)
Defines the Axis on which the zones are applied.
|
void |
setZones(Zones... zones)
An array defining zones within a series.
|
public ChartType getChartType()
getChartType in class PyramidOptionspublic Boolean getAllowPointSelect()
getAllowPointSelect in class PyramidOptionssetAllowPointSelect(Boolean)public void setAllowPointSelect(Boolean allowPointSelect)
Defaults to: false
setAllowPointSelect in class PyramidOptionspublic Number getAnimationLimit()
getAnimationLimit in class PyramidOptionssetAnimationLimit(Number)public void setAnimationLimit(Number animationLimit)
animationLimit to Infinity.setAnimationLimit in class PyramidOptionspublic Color getBorderColor()
setBorderColor(Color)public void setBorderColor(Color borderColor)
The color of the border surrounding each slice. When null,
the border takes the same color as the slice fill. This can be used
together with a borderWidth to fill drawing gaps created by
antialiazing artefacts in borderless pies.
In styled mode, the border stroke is given in the
.highcharts-point class.
Defaults to: #ffffff
public Number getBorderWidth()
setBorderWidth(Number)public void setBorderWidth(Number borderWidth)
The width of the border surrounding each slice.
When setting the border width to 0, there may be small gaps between the
slices due to SVG antialiasing artefacts. To work around this, keep the
border width at 0.5 or 1, but set the borderColor to
null instead.
In styled mode, the border stroke width is given in the
.highcharts-point class.
Defaults to: 1
public void setCenter(String[] center)
Defaults to: ["50%", "50%"]
setCenter in class PyramidOptionspublic String getClassName()
getClassName in class PyramidOptionssetClassName(String)public void setClassName(String className)
setClassName in class PyramidOptionspublic Boolean getClip()
getClip in class PyramidOptionssetClip(Boolean)public void setClip(Boolean clip)
Defaults to false.
setClip in class PyramidOptionspublic Number getColorIndex()
getColorIndex in class PyramidOptionssetColorIndex(Number)public void setColorIndex(Number colorIndex)
highcharts-color-{n}.setColorIndex in class PyramidOptionspublic String getColorKey()
getColorKey in class PyramidOptionssetColorKey(String)public void setColorKey(String colorKey)
colorAxis is used. Requires to set min and
max if some custom point property is used or if
approximation for data grouping is set to 'sum'.
Defaults to y.
setColorKey in class PyramidOptionspublic Color[] getColors()
getColors in class PyramidOptionssetColors(Color...)public void setColors(Color... colors)
setColors in class PyramidOptionspublic void addColor(Color color)
addColor in class PyramidOptionscolor - to addsetColors(Color...)public void removeColor(Color color)
removeColor in class PyramidOptionscolor - to removesetColors(Color...)public Boolean getCrisp()
getCrisp in class PyramidOptionssetCrisp(Boolean)public void setCrisp(Boolean crisp)
crisp
to false may look better, even though each column is
rendered blurry.
Defaults to true.
setCrisp in class PyramidOptionspublic Cursor getCursor()
getCursor in class PyramidOptionssetCursor(Cursor)public void setCursor(Cursor cursor)
setCursor in class PyramidOptionspublic DataLabelsFunnel getDataLabels()
getDataLabels in class PyramidOptionssetDataLabels(DataLabelsFunnel)public void setDataLabels(DataLabelsFunnel dataLabels)
PyramidOptionssetDataLabels in class PyramidOptionspublic Number getDepth()
getDepth in class PyramidOptionssetDepth(Number)public void setDepth(Number depth)
highcharts-3d.js
Defaults to: 0
setDepth in class PyramidOptionspublic String getDescription()
getDescription in class PyramidOptionssetDescription(String)public void setDescription(String description)
Requires Accessibility module
A description of the series to add to the screen reader information about the series.
Defaults to: undefined
setDescription in class PyramidOptionspublic Boolean getEnableMouseTracking()
getEnableMouseTracking in class PyramidOptionssetEnableMouseTracking(Boolean)public void setEnableMouseTracking(Boolean enableMouseTracking)
Defaults to: true
setEnableMouseTracking in class PyramidOptionspublic Boolean getExposeElementToA11y()
getExposeElementToA11y in class PyramidOptionssetExposeElementToA11y(Boolean)public void setExposeElementToA11y(Boolean exposeElementToA11y)
By default, series are exposed to screen readers as regions. By enabling this option, the series element itself will be exposed in the same way as the data points. This is useful if the series is not used as a grouping entity in the chart, but you still want to attach a description to the series.
Requires the Accessibility module.
Defaults to: undefined
setExposeElementToA11y in class PyramidOptionspublic Dimension getFindNearestPointBy()
getFindNearestPointBy in class PyramidOptionssetFindNearestPointBy(Dimension)public void setFindNearestPointBy(Dimension findNearestPointBy)
Determines whether the series should look for the nearest point in both
dimensions or just the x-dimension when hovering the series. Defaults to
'xy' for scatter series and 'x' for most other
series. If the data has duplicate x-values, it is recommended to set this
to 'xy' to allow hovering over all points.
Applies only to series types using nearest neighbor search (not direct hover) for tooltip.
setFindNearestPointBy in class PyramidOptionspublic Boolean getGetExtremesFromAll()
getGetExtremesFromAll in class PyramidOptionssetGetExtremesFromAll(Boolean)public void setGetExtremesFromAll(Boolean getExtremesFromAll)
Defaults to: false
setGetExtremesFromAll in class PyramidOptionspublic String getHeight()
getHeight in class PyramidOptionssetHeight(String)public void setHeight(String height)
setHeight in class PyramidOptionsheight - CSS style string representationpublic Boolean getIgnoreHiddenPoint()
getIgnoreHiddenPoint in class PyramidOptionssetIgnoreHiddenPoint(Boolean)public void setIgnoreHiddenPoint(Boolean ignoreHiddenPoint)
Defaults to true.
setIgnoreHiddenPoint in class PyramidOptionspublic String[] getKeys()
getKeys in class PyramidOptionssetKeys(String...)public void setKeys(String... keys)
setKeys in class PyramidOptionspublic void addKey(String key)
addKey in class PyramidOptionskey - to addsetKeys(String...)public void removeKey(String key)
removeKey in class PyramidOptionskey - to removesetKeys(String...)public String getLinkedTo()
getLinkedTo in class PyramidOptionssetLinkedTo(String)public void setLinkedTo(String linkedTo)
setLinkedTo in class PyramidOptionspublic Number getMinSize()
getMinSize in class PyramidOptionssetMinSize(Number)public void setMinSize(Number minSize)
Defaults to: 80
setMinSize in class PyramidOptionspublic Number getOpacity()
getOpacity in class PyramidOptionssetOpacity(Number)public void setOpacity(Number opacity)
Defaults to 1.
setOpacity in class PyramidOptionspublic String getNeckHeight()
setNeckHeight(String)public void setNeckHeight(String neckHeight)
Defaults to: 25%
public String getNeckWidth()
setNeckWidth(String)public void setNeckWidth(String neckWidth)
Defaults to: 30%
public String getPointDescriptionFormatter()
getPointDescriptionFormatter in class PyramidOptionspublic void setPointDescriptionFormatter(String _fn_pointDescriptionFormatter)
setPointDescriptionFormatter in class PyramidOptionspublic Boolean getReversed()
getReversed in class PyramidOptionssetReversed(Boolean)public void setReversed(Boolean reversed)
Defaults to: false
setReversed in class PyramidOptionspublic Boolean getSelected()
getSelected in class PyramidOptionssetSelected(Boolean)public void setSelected(Boolean selected)
showCheckbox is
true, the checkbox next to the series name will be checked for a selected
series.
Defaults to: false
setSelected in class PyramidOptionspublic Boolean getShadow()
getShadow in class PyramidOptionssetShadow(Boolean)public void setShadow(Boolean shadow)
color,
offsetX, offsetY, opacity and
width.
Defaults to: false
setShadow in class PyramidOptionspublic Boolean getShowInLegend()
getShowInLegend in class PyramidOptionssetShowInLegend(Boolean)public void setShowInLegend(Boolean showInLegend)
Defaults to: false
setShowInLegend in class PyramidOptionspublic Boolean getSkipKeyboardNavigation()
getSkipKeyboardNavigation in class PyramidOptionssetSkipKeyboardNavigation(Boolean)public void setSkipKeyboardNavigation(Boolean skipKeyboardNavigation)
True, the accessibility module will skip past the
points in this series for keyboard navigation.setSkipKeyboardNavigation in class PyramidOptionspublic Number getSlicedOffset()
getSlicedOffset in class PyramidOptionssetSlicedOffset(Number)public void setSlicedOffset(Number slicedOffset)
Defaults to: 10
setSlicedOffset in class PyramidOptionspublic States getStates()
getStates in class PyramidOptionssetStates(States)public void setStates(States states)
setStates in class PyramidOptionspublic Boolean getStickyTracking()
getStickyTracking in class PyramidOptionssetStickyTracking(Boolean)public void setStickyTracking(Boolean stickyTracking)
mouseOut
event on a series isn't triggered until the mouse moves over another
series, or out of the plot area. When false, the mouseOut
event on a series is triggered when the mouse leaves the area around the
series' graph or markers. This also implies the tooltip. When
stickyTracking is false and tooltip.shared is
false, the tooltip will be hidden when moving the mouse between series.
Defaults to: false
setStickyTracking in class PyramidOptionspublic SeriesTooltip getTooltip()
getTooltip in class PyramidOptionssetTooltip(SeriesTooltip)public void setTooltip(SeriesTooltip tooltip)
setTooltip in class PyramidOptionspublic Boolean getVisible()
getVisible in class PyramidOptionssetVisible(Boolean)public void setVisible(Boolean visible)
Defaults to: true
setVisible in class PyramidOptionspublic String getWidth()
getWidth in class PyramidOptionssetWidth(String)public void setWidth(String width)
Defaults to: 90%
setWidth in class PyramidOptionswidth - CSS style string representationpublic ZoneAxis getZoneAxis()
getZoneAxis in class PyramidOptionssetZoneAxis(ZoneAxis)public void setZoneAxis(ZoneAxis zoneAxis)
Defaults to: y
setZoneAxis in class PyramidOptionspublic Zones[] getZones()
getZones in class PyramidOptionssetZones(Zones...)public void setZones(Zones... zones)
An array defining zones within a series. Zones can be applied to the X
axis, Y axis or Z axis for bubbles, according to the
zoneAxis option.
In styled mode, the color zones are styled with the
.highcharts-zone-{n} class, or custom classed from the
className option (view live demo).
setZones in class PyramidOptionspublic void addZone(Zones zone)
addZone in class PyramidOptionszone - to addsetZones(Zones...)public void removeZone(Zones zone)
removeZone in class PyramidOptionszone - to removesetZones(Zones...)public void setCenter(String x, String y)
setCenter in class PyramidOptionspublic String[] getCenter()
getCenter in class PyramidOptionsCopyright © 2022. All rights reserved.