public abstract class ColumnOptions extends AbstractPlotOptions
Constructor and Description |
---|
ColumnOptions() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addColor(Color color)
Adds color to the colors array
|
abstract void |
addKey(String key)
Adds key to the keys array
|
abstract void |
addZone(Zones zone)
Adds zone to the zones array
|
abstract Boolean |
getAllowPointSelect() |
abstract Boolean |
getAnimation() |
abstract Color |
getBorderColor() |
abstract Number |
getBorderRadius() |
abstract Number |
getBorderWidth() |
abstract Boolean |
getClip() |
abstract Boolean |
getColorByPoint() |
abstract String |
getColorKey() |
abstract Color[] |
getColors() |
abstract Boolean |
getCrisp() |
abstract Cursor |
getCursor() |
abstract Number |
getDepth() |
abstract Color |
getEdgeColor() |
abstract Number |
getEdgeWidth() |
abstract Boolean |
getEnableMouseTracking() |
abstract Boolean |
getGetExtremesFromAll() |
abstract Boolean |
getGrouping() |
abstract Number |
getGroupPadding() |
abstract Number |
getGroupZPadding() |
abstract String[] |
getKeys() |
abstract String |
getLinkedTo() |
abstract Number |
getMaxPointWidth() |
abstract Number |
getMinPointLength() |
abstract Number |
getOpacity() |
abstract Number |
getPointInterval() |
abstract IntervalUnit |
getPointIntervalUnit() |
abstract Number |
getPointPadding() |
abstract PointPlacement |
getPointPlacement() |
abstract Number |
getPointRange() |
abstract Number |
getPointStart() |
abstract Number |
getPointWidth() |
abstract Boolean |
getSelected() |
abstract Boolean |
getShadow() |
abstract Boolean |
getShowCheckbox() |
abstract Boolean |
getShowInLegend() |
abstract States |
getStates() |
abstract Boolean |
getStickyTracking() |
abstract SeriesTooltip |
getTooltip() |
abstract Boolean |
getVisible() |
abstract ZoneAxis |
getZoneAxis() |
abstract Zones[] |
getZones() |
abstract void |
removeColor(Color color)
Removes first occurrence of color in colors array
|
abstract void |
removeKey(String key)
Removes first occurrence of key in keys array
|
abstract void |
removeZone(Zones zone)
Removes first occurrence of zone in zones array
|
abstract void |
setAllowPointSelect(Boolean allowPointSelect)
Allow this series' points to be selected by clicking on the markers, bars
or pie slices.
|
abstract void |
setAnimation(Boolean animation)
Enable or disable the initial animation when a series is displayed.
|
abstract void |
setBorderColor(Color borderColor)
The color of the border of each waterfall column.
|
abstract void |
setBorderRadius(Number borderRadius)
The corner radius of the border surrounding each column or bar.
|
abstract void |
setBorderWidth(Number borderWidth)
The width of the border surrounding each column or bar.
|
abstract void |
setClip(Boolean clip)
Disable this option to allow series rendering in the whole plotting area.
|
abstract void |
setColorByPoint(Boolean colorByPoint)
When using automatic point colors pulled from the
options.colors collection, this option determines whether
the chart should receive one color per series or one color per point. |
abstract void |
setColorKey(String colorKey)
Determines what data value should be used to calculate point color if
colorAxis is used.
|
abstract void |
setColors(Color... colors)
A series specific or series type specific color set to apply instead of
the theme colors when
setColorByPoint(Boolean) is true. |
abstract void |
setCrisp(Boolean crisp)
When true, each point or column edge is rounded to its nearest pixel in
order to render sharp on screen.
|
abstract 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.
|
abstract void |
setDepth(Number depth)
Depth of the columns in a 3D column chart.
|
abstract void |
setEdgeColor(Color edgeColor)
3D columns only.
|
abstract void |
setEdgeWidth(Number edgeWidth)
3D columns only.
|
abstract void |
setEnableMouseTracking(Boolean enableMouseTracking)
Enable or disable the mouse tracking for a specific series.
|
abstract 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.
|
abstract void |
setGrouping(Boolean grouping)
Whether to group non-stacked columns or to let them render independent of
each other.
|
abstract void |
setGroupPadding(Number groupPadding)
Padding between each value groups, in x axis units.
|
abstract void |
setGroupZPadding(Number groupZPadding)
The spacing between columns on the Z Axis in a 3D chart.
|
abstract void |
setKeys(String... keys)
An array specifying which option maps to which key in the data point
array.
|
abstract void |
setLinkedTo(String linkedTo)
The ID of another series to link to.
|
abstract void |
setMaxPointWidth(Number maxPointWidth)
The maximum allowed pixel width for a column, translated to the height of
a bar in a bar chart.
|
abstract void |
setMinPointLength(Number minPointLength)
The minimal height for a column or width for a bar.
|
abstract void |
setOpacity(Number opacity)
Opacity of a series parts: line, fill (e.g.
|
abstract void |
setPointInterval(Number pointInterval)
If no x values are given for the points in a series, pointInterval
defines the interval of the x values.
|
abstract void |
setPointIntervalUnit(IntervalUnit pointIntervalUnit)
On datetime series, this allows for setting the
pointInterval to irregular
time units,
day , month and year . |
abstract void |
setPointPadding(Number pointPadding)
Padding between each column or bar, in x axis units.
|
abstract void |
setPointPlacement(PointPlacement pointPlacement)
Possible values:
null , "on" ,
"between" . |
abstract void |
setPointRange(Number pointRange)
The X axis range that each point is valid for.
|
abstract void |
setPointStart(Date date) |
abstract void |
setPointStart(Number pointStart)
If no x values are given for the points in a series, pointStart defines
on what value to start.
|
abstract void |
setPointWidth(Number pointWidth)
A pixel value specifying a fixed width for each column or bar.
|
abstract void |
setSelected(Boolean selected)
Whether to select the series initially.
|
abstract void |
setShadow(Boolean shadow)
Whether to apply a drop shadow to the graph line.
|
abstract void |
setShowCheckbox(Boolean showCheckbox)
If true, a checkbox is displayed next to the legend item to allow
selecting the series.
|
abstract void |
setShowInLegend(Boolean showInLegend)
Whether to display this particular series or series type in the legend.
|
abstract void |
setStates(States states)
A wrapper object for all the series options in specific states.
|
abstract void |
setStickyTracking(Boolean stickyTracking)
Sticky tracking of mouse events.
|
abstract void |
setTooltip(SeriesTooltip tooltip)
A configuration object for the tooltip rendering of each single series.
|
abstract void |
setVisible(Boolean visible)
Set the initial visibility of the series.
|
abstract void |
setZoneAxis(ZoneAxis zoneAxis)
Defines the Axis on which the zones are applied.
|
abstract void |
setZones(Zones... zones)
An array defining zones within a series.
|
getChartType
public abstract Boolean getAllowPointSelect()
setAllowPointSelect(Boolean)
public abstract void setAllowPointSelect(Boolean allowPointSelect)
public abstract Boolean getAnimation()
setAnimation(Boolean)
public abstract void setAnimation(Boolean animation)
Enable or disable the initial animation when a series is displayed. The animation can also be set as a configuration object. Please note that this option only applies to the initial animation of the series itself.
Due to poor performance, animation is disabled in old IE browsers for column charts and polar charts.
public abstract Color getBorderColor()
setBorderColor(Color)
public abstract void setBorderColor(Color borderColor)
public abstract Number getBorderRadius()
setBorderRadius(Number)
public abstract void setBorderRadius(Number borderRadius)
public abstract Number getBorderWidth()
setBorderWidth(Number)
public abstract void setBorderWidth(Number borderWidth)
public abstract Boolean getClip()
setClip(Boolean)
public abstract void setClip(Boolean clip)
public abstract Boolean getColorByPoint()
setColorByPoint(Boolean)
public abstract void setColorByPoint(Boolean colorByPoint)
options.colors
collection, this option determines whether
the chart should receive one color per series or one color per point.public abstract String getColorKey()
setColorKey(String)
public abstract void setColorKey(String colorKey)
min
and max
if some custom point property is used or if approximation for data
grouping is set to 'sum'
'.public abstract Color[] getColors()
setColors(Color...)
public abstract void setColors(Color... colors)
setColorByPoint(Boolean)
is true.public abstract void addColor(Color color)
color
- to addsetColors(Color...)
public abstract void removeColor(Color color)
color
- to removesetColors(Color...)
public abstract Boolean getCrisp()
setCrisp(Boolean)
public abstract void setCrisp(Boolean crisp)
public abstract Cursor getCursor()
setCursor(Cursor)
public abstract void setCursor(Cursor cursor)
public abstract Number getDepth()
setDepth(Number)
public abstract void setDepth(Number depth)
public abstract Color getEdgeColor()
setEdgeColor(Color)
public abstract void setEdgeColor(Color edgeColor)
public abstract Number getEdgeWidth()
setEdgeWidth(Number)
public abstract void setEdgeWidth(Number edgeWidth)
public abstract Boolean getEnableMouseTracking()
setEnableMouseTracking(Boolean)
public abstract void setEnableMouseTracking(Boolean enableMouseTracking)
public abstract Boolean getGetExtremesFromAll()
setGetExtremesFromAll(Boolean)
public abstract void setGetExtremesFromAll(Boolean getExtremesFromAll)
public abstract Number getGroupPadding()
setGroupPadding(Number)
public abstract void setGroupPadding(Number groupPadding)
public abstract Number getGroupZPadding()
setGroupZPadding(Number)
public abstract void setGroupZPadding(Number groupZPadding)
public abstract Boolean getGrouping()
setGrouping(Boolean)
public abstract void setGrouping(Boolean grouping)
public abstract String[] getKeys()
setKeys(String...)
public abstract void setKeys(String... keys)
public abstract void addKey(String key)
key
- to addsetKeys(String...)
public abstract void removeKey(String key)
key
- to removesetKeys(String...)
public abstract String getLinkedTo()
setLinkedTo(String)
public abstract void setLinkedTo(String linkedTo)
public abstract Number getOpacity()
setOpacity(Number)
public abstract void setOpacity(Number opacity)
public abstract Number getMaxPointWidth()
setMaxPointWidth(Number)
public abstract void setMaxPointWidth(Number maxPointWidth)
public abstract Number getMinPointLength()
setMinPointLength(Number)
public abstract void setMinPointLength(Number minPointLength)
public abstract Number getPointInterval()
setPointInterval(Number)
public abstract void setPointInterval(Number pointInterval)
If no x values are given for the points in a series, pointInterval defines the interval of the x values. For example, if a series contains one value every decade starting from year 0, set pointInterval to 10.
It can be combined with pointIntervalUnit
to draw irregular
intervals.
public abstract IntervalUnit getPointIntervalUnit()
setPointIntervalUnit(IntervalUnit)
public abstract void setPointIntervalUnit(IntervalUnit pointIntervalUnit)
day
, month
and year
. A
day is usually the same as 24 hours, but pointIntervalUnit also takes the
DST crossover into consideration when dealing with local time. Combine
this option with pointInterval
to draw weeks, quarters, 6
months, 10 years etc.public abstract Number getPointPadding()
setPointPadding(Number)
public abstract void setPointPadding(Number pointPadding)
public abstract PointPlacement getPointPlacement()
setPointPlacement(PointPlacement)
public abstract void setPointPlacement(PointPlacement pointPlacement)
Possible values: null
, "on"
,
"between"
.
In a column chart, when pointPlacement is "on"
, the point
will not create any padding of the X axis. In a polar column chart this
means that the first column points directly north. If the pointPlacement
is "between"
, the columns will be laid out between ticks.
This is useful for example for visualising an amount between two points
in time or in a certain sector of a polar chart.
Note that pointPlacement needs a pointRange to work. For column series this is computed, but for line-type series it needs to be set.
public abstract Number getPointRange()
setPointRange(Number)
public abstract void setPointRange(Number pointRange)
public abstract Number getPointStart()
setPointStart(Number)
public abstract void setPointStart(Number pointStart)
public abstract Number getPointWidth()
setPointWidth(Number)
public abstract void setPointWidth(Number pointWidth)
null
, the width is calculated from the
pointPadding
and groupPadding
.public abstract Boolean getSelected()
setSelected(Boolean)
public abstract void setSelected(Boolean selected)
showCheckbox
is
true, the checkbox next to the series name will be checked for a selected
series.public abstract Boolean getShadow()
setShadow(Boolean)
public abstract void setShadow(Boolean shadow)
public abstract Boolean getShowCheckbox()
setShowCheckbox(Boolean)
public abstract void setShowCheckbox(Boolean showCheckbox)
selected
option.public abstract Boolean getShowInLegend()
setShowInLegend(Boolean)
public abstract void setShowInLegend(Boolean showInLegend)
true
for standalone series,
false
for linked series.public abstract States getStates()
setStates(States)
public abstract void setStates(States states)
public abstract Boolean getStickyTracking()
setStickyTracking(Boolean)
public abstract 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.public abstract SeriesTooltip getTooltip()
setTooltip(SeriesTooltip)
public abstract void setTooltip(SeriesTooltip tooltip)
public abstract Boolean getVisible()
setVisible(Boolean)
public abstract void setVisible(Boolean visible)
public abstract ZoneAxis getZoneAxis()
setZoneAxis(ZoneAxis)
public abstract void setZoneAxis(ZoneAxis zoneAxis)
public abstract Zones[] getZones()
setZones(Zones...)
public abstract void setZones(Zones... zones)
zoneAxis
option.public abstract void addZone(Zones zone)
zone
- to addsetZones(Zones...)
public abstract void removeZone(Zones zone)
zone
- to removesetZones(Zones...)
public abstract void setPointStart(Date date)
setPointStart(Number)
Copyright © 2022. All rights reserved.