public class PlotOptionsPyramid extends PyramidOptions
| Constructor and Description |
|---|
PlotOptionsPyramid() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKey(String key)
Adds key to the keys array
|
void |
addZone(Zones zone)
Adds zone to the zones array
|
Boolean |
getAllowPointSelect() |
Number |
getAnimationLimit() |
String[] |
getCenter() |
ChartType |
getChartType() |
String |
getClassName() |
Number |
getColorIndex() |
Cursor |
getCursor() |
DataLabelsFunnel |
getDataLabels() |
Number |
getDepth() |
String |
getDescription() |
Boolean |
getEnableMouseTracking() |
Boolean |
getExposeElementToA11y() |
Dimension |
getFindNearestPointBy() |
Boolean |
getGetExtremesFromAll() |
String |
getHeight() |
String[] |
getKeys() |
String |
getLinkedTo() |
Number |
getMinSize() |
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 |
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 |
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 |
setColorIndex(Number colorIndex)
Styled mode only.
|
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 |
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 |
setPointDescriptionFormatter(String _fn_pointDescriptionFormatter) |
void |
setReversed(Boolean reversed)
The pyramid is reversed by default, as opposed to the funnel, which
shares the layout engine, and is not reversed.
|
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 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 Number getColorIndex()
getColorIndex in class PyramidOptionssetColorIndex(Number)public void setColorIndex(Number colorIndex)
highcharts-color-{n}.setColorIndex 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 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 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: true
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 © 2025. All rights reserved.