vue-chart-3: bug(v0.4.x): adding certain chart options crashes the process

Using a simple chart inside Vue 2, the newer version crashes my process once I add options.scales to my chart. Other properties such as options.onClick() and options.plugins seem to work fine

<template>
    <BarChart :data="data" :options="options"/>
</template>


<script>
   export default {
      components: {
         BarChart,
      },
      data() {
         return {
            options: {
               scales: {}, // boom
            },
         }
      },
   }
</script>

This was working fine back on v0.1.7

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 29 (29 by maintainers)

Most upvoted comments

just a typical Monday am I right? 😄