public class LineChartModel extends CartesianChartModel
axes| Constructor and Description |
|---|
LineChartModel() |
LineChartModel(CartesianChartModel cartesianChartModel) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAreaBase()
The base for the area chart that will be used to close the area shape (is
normally 0)
|
boolean |
isFullWidth()
When set to true, the last grid line on the x-axis is not drawn and the
chart elements will expand to the full available width of the chart.
|
boolean |
isLineSmooth()
Specify if the lines should be smoothed.
|
boolean |
isShowArea()
If the line chart should draw an area
|
boolean |
isShowLine()
If the line should be drawn or not
|
boolean |
isShowPoint()
If dots should be drawn or not
|
void |
setAreaBase(int areaBase)
The base for the area chart that will be used to close the area shape (is
normally 0)
|
void |
setFullWidth(boolean fullWidth)
When set to true, the last grid line on the x-axis is not drawn and the
chart elements will expand to the full available width of the chart.
|
void |
setLineSmooth(boolean lineSmooth)
Specify if the lines should be smoothed.
|
void |
setShowArea(boolean showArea)
If the line chart should draw an area
|
void |
setShowLine(boolean showLine)
If the line should be drawn or not
|
void |
setShowPoint(boolean showPoint)
If dots should be drawn or not
|
addSeries, clear, createAxes, getAxes, getAxis, getHigh, getLow, getSeries, setHigh, setLowaddLabel, clearLabels, getAspectRatio, getChartPadding, getHeight, getLabels, getResponsiveOptions, getStyleClass, getWidth, isAnimateAdvanced, isAnimatePath, isReverseData, isShowTooltip, setAnimateAdvanced, setAnimatePath, setAspectRatio, setChartPadding, setHeight, setResponsiveOptions, setReverseData, setShowTooltip, setWidthpublic LineChartModel()
public LineChartModel(CartesianChartModel cartesianChartModel)
public boolean isShowLine()
public void setShowLine(boolean showLine)
showLine - the showLine to setpublic boolean isShowPoint()
public void setShowPoint(boolean showPoint)
showPoint - the showPoint to setpublic boolean isShowArea()
public void setShowArea(boolean showArea)
showArea - the showArea to setpublic int getAreaBase()
public void setAreaBase(int areaBase)
areaBase - the areaBase to setpublic boolean isLineSmooth()
public void setLineSmooth(boolean lineSmooth)
lineSmooth - the lineSmooth to setpublic boolean isFullWidth()
public void setFullWidth(boolean fullWidth)
fullWidth - the fullWidth to setCopyright © 2016. All rights reserved.