We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e21a6 commit bd05ab5Copy full SHA for bd05ab5
app/client/src/components/designSystems/appsmith/ChartComponent.tsx
@@ -375,6 +375,15 @@ class ChartComponent extends React.Component<ChartComponentProps> {
375
renderAt: this.props.widgetId + "chart-container",
376
width: "100%",
377
height: "100%",
378
+ events: {
379
+ dataPlotClick: (evt: any) => {
380
+ const data = evt.data;
381
+ this.props.onDataPointClick({
382
+ x: data.categoryLabel,
383
+ y: data.dataValue,
384
+ });
385
+ },
386
387
...this.getCustomFusionChartDataSource(),
388
};
389
this.chartInstance = new FusionCharts(chartConfig);
0 commit comments