Echarts Jqplot Embedded EXTJS4 Windows assembly method

Source: Internet
Author: User

The JS component drawing is finally drawn in a div or DOM element with a specified ID.

In the project may need to draw in the ExtJS container, studied, can be realized through the following ideas, methods to share with you:

1, first make a container, add this content to the window's Items property. (or new box, add it with the Window.add function)

Specifies the ID of the container as the ID of the chart to render.

JS Code
  1. {
  2. Xtype: ' box ', //or Xtype: ' Component ',
  3. ID: ' Chartid ', where//echarte or Jqplot is to be rendered
  4. WIDTH:100, //Picture width
  5. height:200, //Picture height  
  6. }

So it shows the chart in the window.


PS: Pay attention to the window and box container, which generates a div with ID chartid, and then renders the chart.

Be sure to note the order!



Copyright notice: This article Bo Master original article. Blog, not reproduced without consent.

Echarts Jqplot Embedded EXTJS4 Windows assembly method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.