Wijmo UI for the Web
Quick Start
Show AllShow All
Hide AllHide All

In this quick start, you will learn how to add the BubbleChart widget to an HTML project and how to customize the BubbleChart.

  1. In Notepad, create a new HTML page, add the following code and save the document with an .html extension.

    Drop down and copy markup to paste in Notepad

  2. Add links to the dependencies to your HTML page within the <head> tags. Find the latest dependencies in the content delivery network (CDN) file at wijmo cdn.

    Drop down and copy references to paste inside the head tags

  3. Place the following markup within the body of the .html document:

    Drop down and copy markup to paste inside the body tags

  4. Within the <head> tags, below the references, add the following script to initialize the jQuery widget. This script sets several widget options.
    • The showChartLabels option is set to false so that Y1 values on each bubble don't clutter the chart.
    • The X and Y axes are set to show title text.
    • The tooltip (hint) content is set to show data labels.
    • The header displays title text.
    • Labels, data, and marker types for six countries are added to the seriesList. Each set of data uses a different marker type. See seriesList markers type for more information.

    Drop down and copy markup to paste inside the head tags

  5. Save your HTML file and open it in a browser. The wijbubblechart widget appears like the following.

See Also

Reference

 
Support Options