You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Live demo using cdn click [here](https://jsfiddle.net/rohitcoolblog/5Lt720a9/1/)
21
24
22
-
## Usage
23
-
#### Method 1
24
-
In order to use this plugin, you need to call `Vue.use` global method and pass `VueFusionCharts` component followed by `FusionCharts` and package-specific dependencies for `FusionCharts`
25
-
25
+
### 2. Import `vue`, `vue-fusioncharts` and `fusioncharts` module
26
26
```js
27
27
importVuefrom'vue';
28
+
28
29
importVueFusionChartsfrom'vue-fusioncharts';
30
+
29
31
// import FusionCharts library
30
32
importFusionChartsfrom'fusioncharts';
31
33
// Import `Charts` module to render a chart belonging to `FusionCharts` package
<td>Set the width in pixels or percent such as <code>640</code> or <code>'50%'</code>.</td>
129
+
</tr>
130
+
<tr>
131
+
<td>height</td>
132
+
<td>String/Number</td>
133
+
<td><code>400</code></td>
134
+
<td>Set the height in pixels or percent such as <code>640</code> or <code>'50%'</code>.</td>
135
+
</tr>
136
+
<tr>
137
+
<td>id</td>
138
+
<td>String</td>
139
+
<td><code>chart-object-*</code></td>
140
+
<td>This name is used to refer to the current chart instance after the chart has been created.</td>
141
+
</tr>
142
+
<tr>
143
+
<td>dataFormat</td>
144
+
<td>String</td>
145
+
<td><code>JSON</code></td>
146
+
<td>This is the name of the format of data passed to the dataSource option below. Currently, <code>FusionCharts</code> accepts only <code>JSON</code> and <code>XML</code> data.</td>
147
+
</tr>
148
+
<tr>
149
+
<td>dataSource</td>
150
+
<td>String/Object</td>
151
+
<td><code>none</code></td>
152
+
<td>Provide the source of data and configuration of the chart. FusionCharts accepts data in the formats specified in dataFormats.</td>
153
+
</tr>
154
+
</tbody>
155
+
</table>
156
+
157
+
The complete list of supported props can be found [here](http://www.fusioncharts.com/dev/api/fusioncharts.html)
0 commit comments