4

I have tried chart using Echart library.when i try to resize page the chart is not resizing .I am using auto-resize attribute

 <script src="https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/vue-echarts@4.0.2"></script>
 <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

 <script src="https://cdn.jsdelivr.net/npm/echarts@4.1.0/dist/echarts.js"></script>

 <div id="app">
   <v-chart :options="polar" auto-resize/>
 </div>
Anukul Bansod
  • 116
  • 1
  • 6
  • Include just enough code to allow others to reproduce the problem. For help with [this, read How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/minimal-reproducible-example). – Narendra Jadhav Oct 11 '19 at 09:02
  • 5
    It's `autoresize`. – Justineo Oct 17 '19 at 10:10

1 Answers1

11

instead of auto-resize use autoresize

Nurul Sundarani
  • 5,550
  • 3
  • 23
  • 52
boxiang Zhao
  • 111
  • 1
  • 5