public interface CanvasCoordinateChart<N extends java.lang.Number> extends Canvas
Modifier and Type | Method and Description |
---|---|
int |
getBottomGap()
Returns the gap between the bottom border of the canvas and the chart.
|
int |
getChartHeight()
Returns the height of the chart area.
|
int |
getChartWidth()
Returns the width of the chart area.
|
java.awt.Color |
getDataColor(int i)
Returns the Color to represent the data at the given index.
|
int |
getLeftGap()
Returns the gap between the left border of the canvas and the chart.
|
int |
getNumOfData()
Returns the number of data.
|
long |
getNumOfXScale()
Returns the number of scales to be shown on the x-axis.
|
long |
getNumOfYScale()
Returns the number of scales to be shown on the y-axis.
|
int |
getRightGap()
Returns the gap between the right border of the canvas and the chart.
|
java.awt.Color |
getScaleLineColor()
Returns the color for the scales in the y-axis.
|
N |
getStartXScale()
Returns the value for the first scale on the x-axis (the scale most left of the chart).
|
int |
getTopGap()
Returns the gap between the top border of the canvas and the chart.
|
java.lang.String |
getXAxisTitle()
Returns the title for the x-axis.
|
N |
getXScale()
Returns the difference between each scale on the x-axis.
|
java.lang.String |
getYAxisTitle()
Returns the title for the y-axis.
|
N |
getYScale()
Returns the difference between each scale on the y-axis.
|
getCanvasHeight, getCanvasID, getCanvasWidth, getDefaultColor
int getChartHeight()
int getChartWidth()
java.awt.Color getScaleLineColor()
int getTopGap()
int getRightGap()
int getBottomGap()
int getLeftGap()
long getNumOfYScale()
N getYScale()
long getNumOfXScale()
N getXScale()
N getStartXScale()
java.lang.String getXAxisTitle()
java.lang.String getYAxisTitle()
java.awt.Color getDataColor(int i)
i
- int getNumOfData()