@Generated(value="This class is generated and shouldn\'t be modified", comments="Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new") 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() |
String[] |
getCenter() |
ChartType |
getChartType() |
String |
getClassName() |
Number |
getColorIndex() |
Color[] |
getColors() |
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 |
getNeckHeight() |
String |
getNeckWidth() |
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 |
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 |
setColors(Color... colors)
A series specific or series type specific color set to use instead of the
global colors.
|
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 |
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 |
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 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 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 Number getColorIndex()
getColorIndex
in class PyramidOptions
setColorIndex(Number)
public void setColorIndex(Number colorIndex)
highcharts-color-{n}
.setColorIndex
in class PyramidOptions
public Color[] getColors()
setColors(Color...)
public void setColors(Color... colors)
public void addColor(Color color)
color
- to addsetColors(Color...)
public void removeColor(Color color)
color
- to removesetColors(Color...)
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 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 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 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: false
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 © 2020. All rights reserved.