public static class GFreeChartXY.GSeriesProperties extends Object
Constructor and Description |
---|
GSeriesProperties(Color color,
Shape shape,
List<String> tooltipList,
Double xGapThreshold,
Double yGapThreshold)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Get the line or shape color.
|
Shape |
getShape()
Get the shape to use when drawing the shape.
|
List<String> |
getTooltipList()
Get the array of tooltips for the series.
|
protected Double |
getXGapThreshold()
Get the x threshold gap.
|
protected Double |
getYGapThreshold()
Get the y threshold gap.
|
protected void |
setColor(Color color)
Set the line or shape color.
|
protected void |
setShape(Shape shape)
Set the shape to use when drawing the shape.
|
public GSeriesProperties(Color color, Shape shape, List<String> tooltipList, Double xGapThreshold, Double yGapThreshold)
color
- color of the line or shape.shape
- shape, if null a line is drawn.tooltipList
- List of tooltips for the series.xGapThreshold
- threshold for the x gap, null if no gap.yGapThreshold
- threshold for the y gap, null if no gap.public List<String> getTooltipList()
public Color getColor()
public Shape getShape()
protected Double getXGapThreshold()
protected Double getYGapThreshold()
protected void setColor(Color color)
color
- the line or shape color.protected void setShape(Shape shape)
shape
- the shape to use when drawing the shape.Copyright © 2024. All rights reserved.