Extend 'onChartRender' interface in RowColChart

Issue #870 resolved
Brian Lewis repo owner created an issue

The RowColChart may now allow the user to interactively change the chart type. this means that if a consumer of rolColChart is using the onRenderChart callback to configure the chart, they may not know what chart type the current option is for. Rather than try to figure it out ( e.g. from the series.type) pass it in:

onChartRender(option,echart,renderedType)

Note that becuase of the way the & binding works, consumers of this callback can specify whichever of these arguments they want.

Comments (1)

  1. Log in to comment