Class used to represent simulation output on a graph. Assumed deprecated as never called in iDynoMiCS 1.2. More...
Public Member Functions | |
Chart (final String title) | |
Constructs the chart object on the screen, with title provided. More... | |
void | setPath (String resultPath) |
Set the path to the location where this chart will be saved. More... | |
void | init (XYSeriesCollection[] allGraphSets, String[] xLegend, String[] yLegend) |
Initialise the data sets to be drawn in the created chart, and the chart axis. More... | |
void | updateChart (int iChart, int iSeries, double x, double y) |
Update chart with the data provided in the input arguments. More... | |
void | updateChart (int iChart, int iSeries, double[] x, double[] y) |
Update chart with the data provided in the input argument arrays. More... | |
void | repaintAndSave () |
Refresh the graph on the screen and save to the result path location. More... | |
Class used to represent simulation output on a graph. Assumed deprecated as never called in iDynoMiCS 1.2.
Class used to represent simulation output on a graph. Assumed deprecated as never called in iDynoMiCS 1.2
utils.Chart.Chart | ( | final String | title | ) |
Constructs the chart object on the screen, with title provided.
Constructs the chart object on the screen, with title provided
title | Title to be used for this chart |
void utils.Chart.init | ( | XYSeriesCollection[] | allGraphSets, |
String[] | xLegend, | ||
String[] | yLegend | ||
) |
Initialise the data sets to be drawn in the created chart, and the chart axis.
Initialise the data sets to be drawn in the created chart, and the chart axis
allGraphSets | Data to be plotted on the graph |
xLegend | X axis legend |
yLegend | Y axis legend |
void utils.Chart.repaintAndSave | ( | ) |
Refresh the graph on the screen and save to the result path location.
Refresh the graph on the screen and save to the result path location
void utils.Chart.setPath | ( | String | resultPath | ) |
Set the path to the location where this chart will be saved.
Set the path to the location where this chart will be saved
resultPath | Path to a location on disk where this chart will be saved |
void utils.Chart.updateChart | ( | int | iChart, |
int | iSeries, | ||
double | x, | ||
double | y | ||
) |
Update chart with the data provided in the input arguments.
Update chart with the data provided in the input arguments
iChart | The chart being drawn |
iSeries | The data series on the chart |
x | The x point to add |
y | The y point to add |
void utils.Chart.updateChart | ( | int | iChart, |
int | iSeries, | ||
double[] | x, | ||
double[] | y | ||
) |
Update chart with the data provided in the input argument arrays.
Update chart with the data provided in the input argument arrays
iChart | The chart being drawn |
iSeries | The data series on the chart |
x | Array of x points to add |
y | Array of y points to add |