com.vaadin.flow.component.charts.model.
Class PyramidOptions
All Implemented Interfaces:
Direct Known Subclasses:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidAdds color to the colors array
abstract voidAdds key to the keys array
abstract voidAdds zone to the zones array
abstract Booleanabstract Numberabstract String[]abstract ChartTypeabstract Stringabstract BooleangetClip()abstract Numberabstract Stringabstract Color[]abstract BooleangetCrisp()abstract Cursorabstract DataLabelsFunnelabstract NumbergetDepth()abstract Stringabstract Booleanabstract Booleanabstract Dimensionabstract Booleanabstract Stringabstract Booleanabstract String[]getKeys()abstract Stringabstract Numberabstract Numberabstract Stringabstract Booleanabstract Booleanabstract Booleanabstract Booleanabstract Booleanabstract Numberabstract Statesabstract Booleanabstract SeriesTooltipabstract Booleanabstract StringgetWidth()abstract ZoneAxisabstract Zones[]getZones()abstract voidremoveColor(Color color) Removes first occurrence of color in colors array
abstract voidRemoves first occurrence of key in keys array
abstract voidremoveZone(Zones zone) Removes first occurrence of zone in zones array
abstract voidsetAllowPointSelect(Boolean allowPointSelect) Allow this series' points to be selected by clicking on the markers, bars or pie slices.
abstract voidsetAnimationLimit(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.
abstract voidThe center of the series.
abstract voidabstract voidsetClassName(String className) A class name to apply to the series' graphical elements.
abstract voidDisable this option to allow series rendering in the whole plotting area.
abstract voidsetColorIndex(Number colorIndex) A specific color index to use for the series, so its graphic representations are given the class name
highcharts-color-{n}.abstract voidsetColorKey(String colorKey) Determines what data value should be used to calculate point color if
colorAxisis used.abstract voidA series specific or series type specific color set to use instead of the theme colors.
abstract voidWhen true, each point or column edge is rounded to its nearest pixel in order to render sharp on screen.
abstract voidYou 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.
abstract voidsetDataLabels(DataLabelsFunnel dataLabels) Specific data labels configuration for a series type
abstract voidThe thickness of a 3D pie.
abstract voidsetDescription(String description) A description of the series to add to the screen reader information about the series.
abstract voidsetEnableMouseTracking(Boolean enableMouseTracking) Enable or disable the mouse tracking for a specific series.
abstract voidsetExposeElementToA11y(Boolean exposeElementToA11y) By default, series are exposed to screen readers as regions.
abstract voidsetFindNearestPointBy(Dimension findNearestPointBy) Determines whether the series should look for the nearest point in both dimensions or just the x-dimension when hovering the series.
abstract voidsetGetExtremesFromAll(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.
abstract voidSets the height using String presentation.
abstract voidsetIgnoreHiddenPoint(Boolean ignoreHiddenPoint) This option tells whether the series shall be redrawn as if the hidden point were null.
abstract voidAn array specifying which option maps to which key in the data point array.
abstract voidsetLinkedTo(String linkedTo) The ID of another series to link to.
abstract voidsetMinSize(Number minSize) The minimum size for a pie in response to auto margins.
abstract voidsetOpacity(Number opacity) Opacity of a series parts: line, fill (e.g.
abstract voidsetPointDescriptionFormatter(String _fn_pointDescriptionFormatter) abstract voidsetReversed(Boolean reversed) The pyramid is reversed by default, as opposed to the funnel, which shares the layout engine, and is not reversed.
abstract voidsetSelected(Boolean selected) Whether to select the series initially.
abstract voidWhether to apply a drop shadow to the graph line.
abstract voidsetShowInLegend(Boolean showInLegend) Whether to display this particular series or series type in the legend.
abstract voidsetSkipKeyboardNavigation(Boolean skipKeyboardNavigation) Whether or not to skip past the points in this series for keyboard navigation.
abstract voidsetSlicedOffset(Number slicedOffset) If a point is sliced, moved out from the center, how many pixels should it be moved?.
abstract voidA wrapper object for all the series options in specific states.
abstract voidsetStickyTracking(Boolean stickyTracking) Sticky tracking of mouse events.
abstract voidsetTooltip(SeriesTooltip tooltip) A configuration object for the tooltip rendering of each single series.
abstract voidsetVisible(Boolean visible) Set the initial visibility of the series.
abstract voidSets the width using String presentation.
abstract voidsetZoneAxis(ZoneAxis zoneAxis) Defines the Axis on which the zones are applied.
abstract voidAn array defining zones within a series.
-
Constructor Details
-
PyramidOptions
public PyramidOptions()
-
-
Method Details
-
getChartType
Overrides:
getChartTypein classAbstractPlotOptions -
getAllowPointSelect
See Also:
-
setAllowPointSelect
Allow this series' points to be selected by clicking on the markers, bars or pie slices.
-
getAnimationLimit
See Also:
-
setAnimationLimit
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. For example, for a column chart and its derivatives, animation doesn't run if there is more than 250 points totally. To disable this cap, set
animationLimittoInfinity. -
setCenter
The center of the series. By default, it is centered in the middle of the plot area, so it fills the plot area height.
-
getClassName
See Also:
-
setClassName
A class name to apply to the series' graphical elements.
-
getClip
See Also:
-
setClip
Disable this option to allow series rendering in the whole plotting area. Note that clipping should be always enabled when chart.zoomType is set
-
getColorIndex
See Also:
-
setColorIndex
A specific color index to use for the series, so its graphic representations are given the class name
highcharts-color-{n}. -
getColorKey
See Also:
-
setColorKey
Determines what data value should be used to calculate point color if
colorAxisis used. Requires to setminandmaxif some custom point property is used or if approximation for data grouping is set to'sum'. -
getColors
See Also:
-
setColors
A series specific or series type specific color set to use instead of the theme colors.
-
addColor
Adds color to the colors array
Parameters:
color- to addSee Also:
-
removeColor
Removes first occurrence of color in colors array
Parameters:
color- to removeSee Also:
-
getCrisp
See Also:
-
setCrisp
When true, each point or column edge is rounded to its nearest pixel in order to render sharp on screen. In some cases, when there are a lot of densely packed columns, this leads to visible difference in column widths or distance between columns. In these cases, setting crisp to
falasemay look better, even though each column is rendered blurry. -
getCursor
See Also:
-
setCursor
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.
-
getDataLabels
See Also:
-
setDataLabels
Specific data labels configuration for a series type
Parameters:
dataLabels- -
getDepth
See Also:
-
setDepth
The thickness of a 3D pie.
-
getDescription
See Also:
-
setDescription
A description of the series to add to the screen reader information about the series.
-
getEnableMouseTracking
See Also:
-
setEnableMouseTracking
Enable or disable the mouse tracking for a specific series. This includes point tooltips and click events on graphs and points. For large datasets it improves performance.
-
getExposeElementToA11y
See Also:
-
setExposeElementToA11y
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.
-
getFindNearestPointBy
See Also:
-
setFindNearestPointBy
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.
-
getGetExtremesFromAll
See Also:
-
setGetExtremesFromAll
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. By default, the Y axis adjusts to the min and max of the visible data. Cartesian series only.
-
getHeight
See Also:
-
setHeight
Sets the height using String presentation. String presentation is similar to what is used in Cascading Style Sheets. Size can be pixels or percentage, otherwise IllegalArgumentException is thrown. The empty string ("") or null will unset the height and set the units to pixels.
Parameters:
height- CSS style string representation -
getIgnoreHiddenPoint
See Also:
-
setIgnoreHiddenPoint
This option tells whether the series shall be redrawn as if the hidden point were null.
-
getKeys
See Also:
-
setKeys
An array specifying which option maps to which key in the data point array. This makes it convenient to work with unstructured data arrays from different sources.
-
addKey
Adds key to the keys array
Parameters:
key- to addSee Also:
-
removeKey
Removes first occurrence of key in keys array
Parameters:
key- to removeSee Also:
-
getLinkedTo
See Also:
-
setLinkedTo
The ID of another series to link to. Additionally, the value can be ":previous" to link to the previous series. When two series are linked, only the first one appears in the legend. Toggling the visibility of this also toggles the linked series.
-
getMinSize
See Also:
-
setMinSize
The minimum size for a pie in response to auto margins. The pie will try to shrink to make room for data labels in side the plot area, but only to this size.
-
getOpacity
See Also:
-
setOpacity
Opacity of a series parts: line, fill (e.g. area) and dataLabels.
-
getPointDescriptionFormatter
-
setPointDescriptionFormatter
-
getReversed
See Also:
-
setReversed
The pyramid is reversed by default, as opposed to the funnel, which shares the layout engine, and is not reversed.
-
getSelected
See Also:
-
setSelected
Whether to select the series initially. If
showCheckboxis true, the checkbox next to the series name will be checked for a selected series. -
getShadow
See Also:
-
setShadow
Whether to apply a drop shadow to the graph line.
-
getShowInLegend
See Also:
-
setShowInLegend
Whether to display this particular series or series type in the legend.
-
getSlicedOffset
See Also:
-
setSlicedOffset
If a point is sliced, moved out from the center, how many pixels should it be moved?.
-
getStates
See Also:
-
setStates
A wrapper object for all the series options in specific states.
-
getStickyTracking
See Also:
-
setStickyTracking
Sticky tracking of mouse events. When true, the
mouseOutevent on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, themouseOutevent on a series is triggered when the mouse leaves the area around the series' graph or markers. This also implies the tooltip. WhenstickyTrackingis false andtooltip.sharedis false, the tooltip will be hidden when moving the mouse between series. -
getTooltip
See Also:
-
setTooltip
A configuration object for the tooltip rendering of each single series.
-
getVisible
See Also:
-
setVisible
Set the initial visibility of the series.
-
getWidth
See Also:
-
setWidth
Sets the width using String presentation. String presentation is similar to what is used in Cascading Style Sheets. Size can be pixels or percentage, otherwise IllegalArgumentException is thrown. The empty string ("") or null will unset the height and set the units to pixels.
Parameters:
width- CSS style string representation -
getZoneAxis
See Also:
-
setZoneAxis
Defines the Axis on which the zones are applied.
-
getZones
See Also:
-
setZones
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
zoneAxisoption. -
addZone
Adds zone to the zones array
Parameters:
zone- to addSee Also:
-
removeZone
Removes first occurrence of zone in zones array
Parameters:
zone- to removeSee Also:
-
setCenter
-
getCenter
-