File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2222 FusionCharts will render here...
2323 </ fusioncharts >
2424 < div v-show ="displayChart ">
25- < fusioncharts :options ="timeseriesOptions ">
25+ < fusioncharts
26+ :width ="width "
27+ :height ="height "
28+ :type ="type "
29+ :dataFormat ="dataFormat "
30+ :dataSource ="dataSource "
31+ >
2632 FusionCharts will render here...
2733 </ fusioncharts >
2834 </ div >
Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ var chart = new Vue({
101101 // this.pieDataSource = dataSource;
102102 } ,
103103 changeSecondChartAttr : function ( ) {
104- let dataSource = Object . assign ( { } , this . timeseriesOptions . dataSource ) ;
104+ let dataSource = Object . assign ( { } , this . dataSource ) ;
105105 dataSource . caption . text = 'Changed to something else' ;
106- this . timeseriesOptions . dataSource = dataSource ;
106+ this . dataSource = dataSource ;
107107 } ,
108108 getRandomNumber : function ( ) {
109109 var max = 5 ,
@@ -119,7 +119,7 @@ var chart = new Vue({
119119 data ,
120120 schema
121121 ) ;
122- this . timeseriesOptions . dataSource . data = fusionTable ;
122+ this . dataSource . data = fusionTable ;
123123 this . displayChart = true ;
124124 } ) ;
125125 }
You can’t perform that action at this time.
0 commit comments