Creates and handles charts
- Source:
Methods
(inner) addData(index, name, system)
- Source:
Adds a data point to the chart
Parameters:
Name | Type | Description |
---|---|---|
index |
int | index of the chart |
name |
String | data to be charted |
system |
String | system of the data |
(inner) addTimeAndData(index, name, system)
- Source:
Adds a time and data pair to the chart
Parameters:
Name | Type | Description |
---|---|---|
index |
int | the index of the chart |
name |
String | the data to be charted |
system |
String | the system of the data |
(inner) clearChart(index)
- Source:
Clears a chart
Parameters:
Name | Type | Description |
---|---|---|
index |
int | index of the chart to be cleared |
(inner) initialize(index, start, data, title, units)
- Source:
Initializes a chart
Parameters:
Name | Type | Description |
---|---|---|
index |
int | the index of the chart to initialize |
start |
float | the start time |
data |
String | the name of the data that will be charted |
title |
String | the title |
units |
String | the units of the data that will be charted |
(inner) newChart(id, title, index)
- Source:
Adds a new chart
Parameters:
Name | Type | Description |
---|---|---|
id |
String | the id of the container for the chart |
title |
String | the title for the chart |
index |
int | the index in the charts array to store the chart |
(inner) startChart(index, name, title, system, units)
- Source:
Initializes a chart and starts adding data
Parameters:
Name | Type | Description |
---|---|---|
index |
int | the index of the chart |
name |
String | the name of the data |
title |
String | the title for the chart |
system |
String | the system of the data |
units |
String | the units of the chart |