File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,10 @@ var ReactFC = function (_React$Component) {
263263 this . chartObj = new this . FusionCharts ( currentOptions ) ;
264264 this . chartObj . render ( ) ;
265265 this . oldOptions = currentOptions ;
266+
267+ if ( this . props . onRender && typeof this . props . onRender === 'function' ) {
268+ this . props . onRender ( this . chartObj ) ;
269+ }
266270 }
267271 } , {
268272 key : 'resolveChartOptions' ,
Original file line number Diff line number Diff line change @@ -207,6 +207,10 @@ class ReactFC extends React.Component {
207207 this . chartObj = new this . FusionCharts ( currentOptions ) ;
208208 this . chartObj . render ( ) ;
209209 this . oldOptions = currentOptions ;
210+
211+ if ( this . props . onRender && typeof this . props . onRender === 'function' ) {
212+ this . props . onRender ( this . chartObj ) ;
213+ }
210214 }
211215
212216 resolveChartOptions ( props ) {
You can’t perform that action at this time.
0 commit comments