public class ColumnPlot extends Plot
Constructor and Description |
---|
ColumnPlot(String xLabel,
String yLabel)
Creates a new ColumnPlot
|
Modifier and Type | Method and Description |
---|---|
ColumnPlot |
addColumn(String name,
double value)
Adds a column to the plot
|
protected String[][] |
getDataContent(String xAxisTicksFormat,
String yAxisTicksFormat)
Returns an String matrix with the content of the plot's data.
|
protected String[] |
getDataHeaders()
Returns an String array with the headers of the plot's data
|
protected de.erichseifert.gral.plots.AbstractPlot |
getGralPlot()
Gets an AbstractPlot using GRAL
|
draw, exportData, exportData, exportData, exportData, exportPlot, printData, printData, printData, toString, toString, toString
public ColumnPlot addColumn(String name, double value)
name
- Column namevalue
- Column valueprotected String[] getDataHeaders()
Plot
getDataHeaders
in class Plot
protected String[][] getDataContent(String xAxisTicksFormat, String yAxisTicksFormat)
Plot
getDataContent
in class Plot
xAxisTicksFormat
- Number format for the values of the x axisyAxisTicksFormat
- Number format for the values of the x axisprotected de.erichseifert.gral.plots.AbstractPlot getGralPlot()
Plot
getGralPlot
in class Plot
Copyright © 2020. All rights reserved.