File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ define([
232232 domConstruct . destroy ( this . _tooltipNode ) ;
233233 }
234234
235- if ( mx . data . release ) { // mx.data.release is deprecated in MX7, so this is for MX5 & MX6
235+ if ( mx . data . release && ! mx . version || mx . version && parseInt ( mx . version . split ( "." ) [ 0 ] ) < 7 ) { // mx.data.release is deprecated in MX7, so this is for MX5 & MX6
236236 if ( this . _data && this . _data . datasets && this . _data . datasets . length > 0 ) {
237237 logger . debug ( this . id + ".uninitialize release datasets" ) ;
238238 for ( var i = 0 ; i < this . _data . datasets . length ; i ++ ) {
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ define([
136136 } ) ) ;
137137
138138 // Set the con
139- html . set ( this . _numberNode , this . _data . object . get ( this . numberInside ) ) ;
139+ html . set ( this . _numberNode , this . _data . object . get ( this . numberInside ) . toString ( ) ) ;
140140
141141 // Add class to determain chart type
142142 this . _addChartClass ( "chartjs-doughnut-chart" ) ;
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ define([
138138 this . _chart = new this . _chartJS ( this . _ctx , chartProperties ) ;
139139
140140 // Set the con
141- html . set ( this . _numberNode , this . _data . object . get ( this . numberInside ) ) ;
141+ html . set ( this . _numberNode , this . _data . object . get ( this . numberInside ) . toString ( ) ) ;
142142
143143 // Add class to determain chart type
144144 this . _addChartClass ( "chartjs-pie-chart" ) ;
You can’t perform that action at this time.
0 commit comments