: Object,
      index: Number,
      total: Number,
    },
    computed: {
      point: function () {
        return valueToPoint(+this.stat.value + 10, this.index, this.total)
      },
    },
  }
</script>

<!-- template for the polygraph component. -->
<script type="text/x-template" id="polygraph-template">
  <g>
    <polygon :points="points"></polygon>
    <circle cx="100" cy="100" r="80"></circle>
    <axis-label
      v-for="(stat, index) in stats"
      :stat="stat"
      :index="index"
      :total="