- java.lang.Object
-
- net.finmath.plots.Plot2DBarFX
-
-
Constructor Summary
Constructors Constructor Description Plot2DBarFX()
Plot2DBarFX(List<PlotableCategories> plotables)
Plot2DBarFX(List<PlotableCategories> plotables, String title, String xAxisLabel, String yAxisLabel, NumberFormat yAxisNumberFormat, Double yAxisLowerBound, Double yAxisUpperBound, Double yAxisTick, Boolean isLegendVisible)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
javafx.scene.chart.Chart
get()
static Plot2DBarFX
of(String[] labels, double[] values, String title, String xAxisLabel, String yAxisLabel, NumberFormat yAxisNumberFormat, boolean isLegendVisible)
static Plot2DBarFX
of(String name, String[] labels, double[] values, String title, String xAxisLabel, String yAxisLabel, NumberFormat yAxisNumberFormat, boolean isLegendVisible)
Plot2DBarFX
saveAsJPG(File file, int width, int height)
Plot2DBarFX
saveAsPDF(File file, int width, int height)
Plot2DBarFX
saveAsPNG(File file, int width, int height)
Plot2DBarFX
saveAsSVG(File file, int width, int height)
Plot
setIsLegendVisible(Boolean isLegendVisible)
void
setIsSeriesStacked(Boolean isSeriesStacked)
Plot2DBarFX
setTitle(String title)
Plot2DBarFX
setXAxisLabel(String xAxisLabel)
Plot2DBarFX
setYAxisLabel(String yAxisLabel)
Plot2DBarFX
setYAxisRange(Double min, Double max)
Plot
setZAxisLabel(String zAxisLabel)
void
show()
Plot2DBarFX
update(List<PlotableCategories> plotables)
-
-
-
Constructor Detail
-
Plot2DBarFX
public Plot2DBarFX(List<PlotableCategories> plotables, String title, String xAxisLabel, String yAxisLabel, NumberFormat yAxisNumberFormat, Double yAxisLowerBound, Double yAxisUpperBound, Double yAxisTick, Boolean isLegendVisible)
-
Plot2DBarFX
public Plot2DBarFX(List<PlotableCategories> plotables)
-
Plot2DBarFX
public Plot2DBarFX()
-
-
Method Detail
-
of
public static Plot2DBarFX of(String name, String[] labels, double[] values, String title, String xAxisLabel, String yAxisLabel, NumberFormat yAxisNumberFormat, boolean isLegendVisible)
-
of
public static Plot2DBarFX of(String[] labels, double[] values, String title, String xAxisLabel, String yAxisLabel, NumberFormat yAxisNumberFormat, boolean isLegendVisible)
-
get
public javafx.scene.chart.Chart get()
-
saveAsJPG
public Plot2DBarFX saveAsJPG(File file, int width, int height) throws IOException
- Specified by:
saveAsJPG
in interfacePlot
- Throws:
IOException
-
saveAsPNG
public Plot2DBarFX saveAsPNG(File file, int width, int height) throws IOException
- Throws:
IOException
-
saveAsPDF
public Plot2DBarFX saveAsPDF(File file, int width, int height) throws IOException
- Specified by:
saveAsPDF
in interfacePlot
- Throws:
IOException
-
saveAsSVG
public Plot2DBarFX saveAsSVG(File file, int width, int height) throws IOException
- Specified by:
saveAsSVG
in interfacePlot
- Throws:
IOException
-
update
public Plot2DBarFX update(List<PlotableCategories> plotables)
-
setTitle
public Plot2DBarFX setTitle(String title)
-
setXAxisLabel
public Plot2DBarFX setXAxisLabel(String xAxisLabel)
- Specified by:
setXAxisLabel
in interfacePlot
-
setYAxisLabel
public Plot2DBarFX setYAxisLabel(String yAxisLabel)
- Specified by:
setYAxisLabel
in interfacePlot
-
setYAxisRange
public Plot2DBarFX setYAxisRange(Double min, Double max)
-
setZAxisLabel
public Plot setZAxisLabel(String zAxisLabel)
- Specified by:
setZAxisLabel
in interfacePlot
-
setIsLegendVisible
public Plot setIsLegendVisible(Boolean isLegendVisible)
- Specified by:
setIsLegendVisible
in interfacePlot
- Parameters:
isLegendVisible
- the isLegendVisible to set
-
setIsSeriesStacked
public void setIsSeriesStacked(Boolean isSeriesStacked)
-
-