You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`onChange`| callback, `(string)=>void`| undefined | Yes | Fired at the component initialization time and the user changed the view. The first argument is the view id in `ga:xxxxx` format. |
157
+
|`children`|`JSX.Element`| undefined | Yes | An optional placeholder to show until the gapi is being ready |
158
+
|`style`| object, `React.CSSProperties`| undefined | Yes | CSS styles to pass to the container element. |
159
+
|`className`| string | undefined | Yes | Class name to pass to the container element |
|`query`| object, `gapi.analytics.Query`| N/A | No | Refer the [Google Core Reporting API](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#q_summary) for more details about the properties and filterations. |
175
+
|`children`|`JSX.Element`| undefined | Yes | An optional placeholder to show until the gapi is being ready |
176
+
|`style`| object, `React.CSSProperties`| undefined | Yes | CSS styles to pass to the container element. |
177
+
|`className`| string | undefined | Yes | Class name to pass to the container element |
178
+
|`onSuccess`| callback, `(object)=>void`| undefined | Yes | Fired when the chart successfully rendered and the Reporting API call success. First argument is a response object that returning from Reporting API. Check this [page](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#data_response) for more details. |
179
+
|`onError`| callback, `(object)=>void`| undefined | Yes | Fired when an error occured during the rendering the chart or a error response received from the Reporting API. The first argument contains the error object. Refer this [page](https://developers.google.com/analytics/devguides/reporting/core/v3/errors) for more details about error response object. |
180
+
| . . . | object | undefined | Yes | Google Chart options depending on the chart type. Refer the [Google Charts Guides](https://developers.google.com/chart/interactive/docs) to get a knowledge about options needed for different chart types. |
0 commit comments