Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
utils.Chart Class Reference

Class used to represent simulation output on a graph. Assumed deprecated as never called in iDynoMiCS 1.2. More...

Inheritance diagram for utils.Chart:

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...
 

Detailed Description

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

Constructor & Destructor Documentation

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

Parameters
titleTitle to be used for this chart

Member Function Documentation

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

Parameters
allGraphSetsData to be plotted on the graph
xLegendX axis legend
yLegendY 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

Parameters
resultPathPath 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

Parameters
iChartThe chart being drawn
iSeriesThe data series on the chart
xThe x point to add
yThe 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

Parameters
iChartThe chart being drawn
iSeriesThe data series on the chart
xArray of x points to add
yArray of y points to add

The documentation for this class was generated from the following file: