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
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,31 @@ export default {
92
92
}
93
93
}
94
94
```
95
+
Bubble Charts require three metrics (v1, v2, and v3). These should be passed as triplets
96
+
97
+
```JavaScript
98
+
exportdefault {
99
+
name:'example',
100
+
data () {
101
+
return {
102
+
chartData: {
103
+
chartType:"bubbleChart",
104
+
selector:"chart",
105
+
title:"Important Data",
106
+
width:400,
107
+
height:200,
108
+
triplet: ['count', 'pyCount', 'revenue']
109
+
data: [
110
+
{'count':120,
111
+
'fruit':'apples'},
112
+
{'count':250,
113
+
'fruit':'oranges'}
114
+
]
115
+
}
116
+
}
117
+
}
118
+
}
119
+
```
95
120
### Overrides
96
121
If you need to override any of the default values of the charts (pallette colors, ticks, margins, etc) you can pass an overrides object to you chartData.
97
122
@@ -131,6 +156,7 @@ chartData: {
131
156
* scatterPlot: a graph in which the values of two variables are plotted along two axes, the pattern of the resulting points revealing any correlation present.
132
157
* pieChart: a chart in which a circle is divided into slices to illustrate proportion
133
158
* areaChart: a chart which displays graphically quantitative data
159
+
* bubleChart: a bubble chart is a variation of a scatter chart in which the data points are replaced with bubbles, and an additional dimension of the data is represented in the size of the bubbles.
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "v-chart-plugin",
3
3
"main": "./dist/module/v-chart-plugin.js",
4
-
"version": "0.2.15",
4
+
"version": "0.3.0",
5
5
"description": "This plugin is designed to allow Vue.js developers to incorporate fully reactive and customizable charts into your applications. Uses D3.js for charting.",
0 commit comments