public class PlotOptionsPyramid extends PyramidOptions
Constructor and Description |
---|
PlotOptionsPyramid() |
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() |
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 |
setOpacity(Number opacity)
Opacity of a series parts: line, fill (e.g.
|
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 PyramidOptions
public Boolean getAllowPointSelect()
getAllowPointSelect
in class PyramidOptions
setAllowPointSelect(Boolean)
public void setAllowPointSelect(Boolean allowPointSelect)
Defaults to: false
setAllowPointSelect
in class PyramidOptions
public Number getAnimationLimit()
getAnimationLimit
in class PyramidOptions
setAnimationLimit(Number)
public void setAnimationLimit(Number animationLimit)
animationLimit
to Infinity
.setAnimationLimit
in class PyramidOptions
public 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 PyramidOptions
public String getClassName()
getClassName
in class PyramidOptions
setClassName(String)
public void setClassName(String className)
setClassName
in class PyramidOptions
public Boolean getClip()
getClip
in class PyramidOptions
setClip(Boolean)
public void setClip(Boolean clip)
Defaults to false
.
setClip
in class PyramidOptions
public Number getColorIndex()
getColorIndex
in class PyramidOptions
setColorIndex(Number)
public void setColorIndex(Number colorIndex)
highcharts-color-{n}
.setColorIndex
in class PyramidOptions
public String getColorKey()
getColorKey
in class PyramidOptions
setColorKey(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 PyramidOptions
public Color[] getColors()
getColors
in class PyramidOptions
setColors(Color...)
public void setColors(Color... colors)
setColors
in class PyramidOptions
public void addColor(Color color)
addColor
in class PyramidOptions
color
- to addsetColors(Color...)
public void removeColor(Color color)
removeColor
in class PyramidOptions
color
- to removesetColors(Color...)
public Boolean getCrisp()
getCrisp
in class PyramidOptions
setCrisp(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 PyramidOptions
public Cursor getCursor()
getCursor
in class PyramidOptions
setCursor(Cursor)
public void setCursor(Cursor cursor)
setCursor
in class PyramidOptions
public DataLabelsFunnel getDataLabels()
getDataLabels
in class PyramidOptions
setDataLabels(DataLabelsFunnel)
public void setDataLabels(DataLabelsFunnel dataLabels)
PyramidOptions
setDataLabels
in class PyramidOptions
public Number getDepth()
getDepth
in class PyramidOptions
setDepth(Number)
public void setDepth(Number depth)
highcharts-3d.js
Defaults to: 0
setDepth
in class PyramidOptions
public String getDescription()
getDescription
in class PyramidOptions
setDescription(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 PyramidOptions
public Boolean getEnableMouseTracking()
getEnableMouseTracking
in class PyramidOptions
setEnableMouseTracking(Boolean)
public void setEnableMouseTracking(Boolean enableMouseTracking)
Defaults to: true
setEnableMouseTracking
in class PyramidOptions
public Boolean getExposeElementToA11y()
getExposeElementToA11y
in class PyramidOptions
setExposeElementToA11y(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 PyramidOptions
public Dimension getFindNearestPointBy()
getFindNearestPointBy
in class PyramidOptions
setFindNearestPointBy(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 PyramidOptions
public Boolean getGetExtremesFromAll()
getGetExtremesFromAll
in class PyramidOptions
setGetExtremesFromAll(Boolean)
public void setGetExtremesFromAll(Boolean getExtremesFromAll)
Defaults to: false
setGetExtremesFromAll
in class PyramidOptions
public String getHeight()
getHeight
in class PyramidOptions
setHeight(String)
public void setHeight(String height)
setHeight
in class PyramidOptions
height
- CSS style string representationpublic Boolean getIgnoreHiddenPoint()
getIgnoreHiddenPoint
in class PyramidOptions
setIgnoreHiddenPoint(Boolean)
public void setIgnoreHiddenPoint(Boolean ignoreHiddenPoint)
Defaults to true
.
setIgnoreHiddenPoint
in class PyramidOptions
public String[] getKeys()
getKeys
in class PyramidOptions
setKeys(String...)
public void setKeys(String... keys)
setKeys
in class PyramidOptions
public void addKey(String key)
addKey
in class PyramidOptions
key
- to addsetKeys(String...)
public void removeKey(String key)
removeKey
in class PyramidOptions
key
- to removesetKeys(String...)
public String getLinkedTo()
getLinkedTo
in class PyramidOptions
setLinkedTo(String)
public void setLinkedTo(String linkedTo)
setLinkedTo
in class PyramidOptions
public Number getMinSize()
getMinSize
in class PyramidOptions
setMinSize(Number)
public void setMinSize(Number minSize)
Defaults to: 80
setMinSize
in class PyramidOptions
public Number getOpacity()
getOpacity
in class PyramidOptions
setOpacity(Number)
public void setOpacity(Number opacity)
Defaults to 1
.
setOpacity
in class PyramidOptions
public String getPointDescriptionFormatter()
getPointDescriptionFormatter
in class PyramidOptions
public void setPointDescriptionFormatter(String _fn_pointDescriptionFormatter)
setPointDescriptionFormatter
in class PyramidOptions
public Boolean getReversed()
getReversed
in class PyramidOptions
setReversed(Boolean)
public void setReversed(Boolean reversed)
Defaults to: true
setReversed
in class PyramidOptions
public Boolean getSelected()
getSelected
in class PyramidOptions
setSelected(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 PyramidOptions
public Boolean getShadow()
getShadow
in class PyramidOptions
setShadow(Boolean)
public void setShadow(Boolean shadow)
color
,
offsetX
, offsetY
, opacity
and
width
.
Defaults to: false
setShadow
in class PyramidOptions
public Boolean getShowInLegend()
getShowInLegend
in class PyramidOptions
setShowInLegend(Boolean)
public void setShowInLegend(Boolean showInLegend)
Defaults to: false
setShowInLegend
in class PyramidOptions
public Boolean getSkipKeyboardNavigation()
getSkipKeyboardNavigation
in class PyramidOptions
setSkipKeyboardNavigation(Boolean)
public void setSkipKeyboardNavigation(Boolean skipKeyboardNavigation)
True
, the accessibility module will skip past the
points in this series for keyboard navigation.setSkipKeyboardNavigation
in class PyramidOptions
public Number getSlicedOffset()
getSlicedOffset
in class PyramidOptions
setSlicedOffset(Number)
public void setSlicedOffset(Number slicedOffset)
Defaults to: 10
setSlicedOffset
in class PyramidOptions
public States getStates()
getStates
in class PyramidOptions
setStates(States)
public void setStates(States states)
setStates
in class PyramidOptions
public Boolean getStickyTracking()
getStickyTracking
in class PyramidOptions
setStickyTracking(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 PyramidOptions
public SeriesTooltip getTooltip()
getTooltip
in class PyramidOptions
setTooltip(SeriesTooltip)
public void setTooltip(SeriesTooltip tooltip)
setTooltip
in class PyramidOptions
public Boolean getVisible()
getVisible
in class PyramidOptions
setVisible(Boolean)
public void setVisible(Boolean visible)
Defaults to: true
setVisible
in class PyramidOptions
public String getWidth()
getWidth
in class PyramidOptions
setWidth(String)
public void setWidth(String width)
Defaults to: 90%
setWidth
in class PyramidOptions
width
- CSS style string representationpublic ZoneAxis getZoneAxis()
getZoneAxis
in class PyramidOptions
setZoneAxis(ZoneAxis)
public void setZoneAxis(ZoneAxis zoneAxis)
Defaults to: y
setZoneAxis
in class PyramidOptions
public Zones[] getZones()
getZones
in class PyramidOptions
setZones(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 PyramidOptions
public void addZone(Zones zone)
addZone
in class PyramidOptions
zone
- to addsetZones(Zones...)
public void removeZone(Zones zone)
removeZone
in class PyramidOptions
zone
- to removesetZones(Zones...)
public void setCenter(String x, String y)
setCenter
in class PyramidOptions
public String[] getCenter()
getCenter
in class PyramidOptions
Copyright © 2021. All rights reserved.