Article From:

Because we need to use the river map of echarts2, but we do not know how to use these two simultaneously.

Answer 0:

Ask yourself, this is the way to solve it.

  1. Download echarts2-all.js
  2. Put it under the static folder
  3. index.htmlIntroducing the script label
  4. Open echarts2-all.js, select all echarts fields (note case sensitive), and change to echarts2.
  5. It can then be used directly by echarts2.init (DOM)

Leave a Reply

Your email address will not be published. Required fields are marked *