Draws the chart with the given plotly data.
The plotly (https://plotly.com/javascript/reference/) data to draw.
Gets the dashboard item's properties
Bind a function to fire when a plot is clicked.
The function to fire.
ScriptEventSubscription
Updates the dashboard item with new values.
Object with new properties to use
Adds a loading overlay to the chart.