All events described below are also available as one time events:
chartReadyOneTime and so on.
The chartReady event is fired when a chart is completely loaded.
Bind the chartReady event in the google-chart component like this:
Your ready() function is passed an event whose interface looks like this:
You can import the ChartReadyEvent interface in your .ts file:
and then use it like this:
The chartError event is fired if there are some errors with a chart.
Bind the chartError event in the google-chart component, like this:
Your error() function is passed an event whose interface looks like this:
You can import the ChartErrorEvent interface in your .ts file:
and then use it like this:
See more details about returned values for error event.
The chartSelect event is fired when a chart is selected/clicked.
Bind the chartSelect event in the google-chart component, like this:
Your select() function is passed an event whose interface looks like this:
You can import the ChartSelectEvent interface in your .ts file:
and then use it like this:
The mouseOver event is fired when the user moves the mouse over some chart
item.
Bind the MouseOver event in the google-chart component like this:
Your mouseOver() function is passed an event whose interface looks like this:
You can import the ChartMouseOverEvent interface in your .ts file:
and then use it like this:
The mouseOut event is fired when the user moves the mouse out of some chart
item.
Bind the MouseOut event in the google-chart component like this:
Your mouseOut() function is passed an event whose interface looks like this:
You can import the ChartMouseOutEvent interface in your .ts file:
and then use it like this: