public class CanvasHistogramLong extends AbstractNumericalCoorChartCanvasLong
| Constructor and Description |
|---|
CanvasHistogramLong(java.lang.String canvasName,
int canvasHeight,
int canvasWidth,
ChartDataHistogramLong textHistData,
java.lang.String xText)
Create a Canvas for TextHistogram.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getDataValue(int index)
Returns the value of the data at a specified index.
|
long |
getNumOfXScale()
Returns the number of scales to be shown on the x-axis.
|
java.lang.Long |
getStartXScale()
Returns the value for the first scale on the x-axis (the scale most left of the chart).
|
java.lang.String |
getText(int index)
Returns the observed text at the given index.
|
java.lang.String |
getXAxisTitle()
Returns the title for the x-axis.
|
java.lang.Long |
getXScale()
Returns the difference between each scale on the x-axis.
|
java.lang.String |
getYAxisTitle()
Returns the title for the y-axis.
|
getDataColor, getNumOfData, getNumOfYScale, getYScalegetBottomGap, getCanvasHeight, getCanvasID, getCanvasWidth, getChartHeight, getChartWidth, getDefaultColor, getLeftGap, getRightGap, getScaleLineColor, getTopGapgetName, getQuotedName, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBottomGap, getChartHeight, getChartWidth, getLeftGap, getRightGap, getScaleLineColor, getTopGapgetCanvasHeight, getCanvasID, getCanvasWidth, getDefaultColorpublic CanvasHistogramLong(java.lang.String canvasName,
int canvasHeight,
int canvasWidth,
ChartDataHistogramLong textHistData,
java.lang.String xText)
canvasName - The name of the canvas.canvasHeight - The height of the canvas.canvasWidth - The width of the canvas.data - The data of the TextHistogram to be displayed in this canvas.data - Text at the x-axispublic long getNumOfXScale()
CanvasCoordinateChartpublic java.lang.Long getXScale()
CanvasCoordinateChartpublic java.lang.Long getStartXScale()
CanvasCoordinateChartpublic java.lang.String getXAxisTitle()
CanvasCoordinateChartpublic java.lang.String getYAxisTitle()
CanvasCoordinateChartpublic java.lang.Long getDataValue(int index)
index - The index of the data.public java.lang.String getText(int index)
index - int : The index of the String asked for