public class AbstractSeriesItem extends AbstractConfigurationObject
| Constructor and Description |
|---|
AbstractSeriesItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Returns the class name of the item
|
Number |
getColorIndex()
Returns the colorIndex of the item.
|
String |
getId()
Returns the id of the item.
|
Number |
getLegendIndex()
Returns the index of the legend.
|
Marker |
getMarker()
Returns the marker of the item.
|
String |
getName()
Returns the name of the item.
|
boolean |
getSliced()
Checks whether or not the item is sliced.
|
Number |
getX()
Returns the X-value of the item.
|
Number |
getY()
Returns the Y-value of the item.
|
void |
setClassName(String className)
An additional, individual class name for the data point's graphic representation.
|
void |
setColorIndex(Number colorIndex)
A specific color index to use for the point, so its graphic representations
are given the class name highcharts-color-{n}.
|
void |
setId(String id)
Sets the ID for the point.
|
void |
setLegendIndex(Number legendIndex)
Sets the sequential index of the pie slice in the legend.
|
void |
setMarker(Marker marker)
Sets the marker of this data series item
|
void |
setName(String name)
Sets the name of the data item as shown in the legend, tooltip, dataLabel
etc.
|
void |
setSliced(boolean sliced)
Sets whether to display a slice offset from the center.
|
void |
setX(Date date)
Deprecated.
as of 4.0. Use
setX(Instant) |
void |
setX(Instant instant)
Sets the given instant as the x value.
|
void |
setX(Number x)
Sets the X value of this data item.
|
void |
setY(Number y)
Sets the Y value of this data item.
|
public String getName()
setName(String)public void setName(String name)
name - Name of the item.public Number getY()
setY(Number)public void setY(Number y)
y - Y-value of the item.public Number getX()
setX(Number)public void setX(Number x)
x - X-value of the item.public void setX(Instant instant)
instant - Instant to set.@Deprecated public void setX(Date date)
setX(Instant)public boolean getSliced()
setSliced(boolean)public void setSliced(boolean sliced)
sliced - When true, this item should be displayed with a small
offset from the centre of the pie chart; when false,
this item will be rendered normally.public Number getColorIndex()
setColorIndex(Number)public void setColorIndex(Number colorIndex)
colorIndex - Color of the item.public Number getLegendIndex()
setLegendIndex(Number)public void setLegendIndex(Number legendIndex)
legendIndex - Index in the legend.public void setMarker(Marker marker)
marker - Marker of the item.public Marker getMarker()
Marker will be created.setMarker(Marker)public String getId()
setId(String)public void setId(String id)
id - New id.public String getClassName()
setClassName(String)public void setClassName(String className)
className - new class name of the itemCopyright © 2020. All rights reserved.