Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Commit 5480bde

Browse files
committed
AG-5881 Add Vue3 support to Standalone Charts
1 parent 687664d commit 5480bde

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/App.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<div>
44
<p>Marker Size: {{markerSize}}</p>
5-
<button @click="setMarkerSize(25)">Reset Marker Size</button>
5+
<button @click="setMarkerSize(10)">Reset Marker Size</button>
66
<button @click="setMarkerSize(markerSize - 1)">Decrease Marker Size</button>
77
<button @click="setMarkerSize(markerSize + 1)">Increase Marker Size</button>
88
</div>
@@ -15,7 +15,7 @@
1515
export default {
1616
data() {
1717
return {
18-
markerSize: 25,
18+
markerSize: 10,
1919
options: {}
2020
}
2121
},
@@ -48,11 +48,11 @@
4848
}],
4949
series: [{
5050
xKey: 'month',
51-
yKey: 'revenue'
52-
}],
53-
legend: {
54-
markerSize: this.markerSize
55-
}
51+
yKey: 'revenue',
52+
marker: {
53+
size: this.markerSize
54+
}
55+
}]
5656
};
5757
}
5858
},

0 commit comments

Comments
 (0)