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 @@ -267,6 +267,10 @@ var ReactFC = function (_React$Component) {
267267 this . chartObj = new this . FusionCharts ( currentOptions ) ;
268268 this . chartObj . render ( ) ;
269269 this . oldOptions = currentOptions ;
270+
271+ if ( this . props . onRender && typeof this . props . onRender === 'function' ) {
272+ this . props . onRender ( this . chartObj ) ;
273+ }
270274 }
271275 } , {
272276 key : 'resolveChartOptions' ,
Original file line number Diff line number Diff line change @@ -211,6 +211,10 @@ class ReactFC extends React.Component {
211211 this . chartObj = new this . FusionCharts ( currentOptions ) ;
212212 this . chartObj . render ( ) ;
213213 this . oldOptions = currentOptions ;
214+
215+ if ( this . props . onRender && typeof this . props . onRender === 'function' ) {
216+ this . props . onRender ( this . chartObj ) ;
217+ }
214218 }
215219
216220 resolveChartOptions ( props ) {
You can’t perform that action at this time.
0 commit comments