Vision - Status Chart Scripting Functions
This page details the various component and extension functions available for Vision's Status Chart component.
Component Functions​
This component does not have component functions associated with it.
Extension Functions​
configureChart​
Description
- Provides an opportunity to perform further chart configuration via scripting.
Parameters
Component self- A reference to the component that is invoking this function.
JFreeChart chart- A JFreeChart object. Refer to the JFreeChart documentation for API details.
Return
- None
getToolTip​
Description
- Return a formatted tool tip String
Parameters
Component self- A reference to the component that is invoking this function.
int seriesIndex- The series index corresponding to the column in the series dataset.
int selectedTimeStamp- The time stamp corresponding to the x value of the displayed tooltip. The time stamp is the number of seconds since the epoch.
int timeDiff- The width of the current status interval measured in seconds since the epoch.
int seletedStatus- The status value corresponding to the x value of the displayed tooltip.
PyDataset data- The series dataset as a PyDataset.
PyDataset properties- The series properties dataset as a PyDataset.
string defaultString- The default tooltip string.
Return
- String defaultString