We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee045de commit 19cfc9dCopy full SHA for 19cfc9d
examples/svg/index.html
@@ -12,7 +12,7 @@
12
<script type="text/x-template" id="polygraph-template">
13
<polygon v-attr="points:points"></polygon>
14
<circle cx="100" cy="100" r="80"></circle>
15
- <text v-repeat="stats" v-component="axis-label" v-attr="x:x, y:y">
+ <text v-repeat="stats" v-component="axis-label" v-attr="x:point.x, y:point.y">
16
{{label}}
17
</text>
18
</script>
examples/svg/svg.js
@@ -31,12 +31,6 @@ Vue.component('polygraph', {
31
this.$index,
32
this.$parent.stats.length
33
)
34
- },
35
- x: function () {
36
- return this.point.x - 4
37
38
- y: function () {
39
- return this.point.y + 4
40
}
41
42
0 commit comments