Wijmo UI for the Web
Change Markers
Show AllShow All
Hide AllHide All

Building on the Quick Start example, you can change the markers and the marker colors using the seriesList and seriesStyles options.

  1. In the <head> section of your HTML file, replace the script that includes the document ready function with this one, which changes the seriesList markerType and uses the seriesStyles option to change the fill and outline color of the markers. 

    Drop down and copy script to paste in <head> section

  2. No changes are necessary in the <body> section of your HTML file. The basic <div> tag is sufficient to create the chart.
  3. Save your HTML file and open it in a browser. The widget appears like the one in the live widget below, with pink and blue cross and circle markers.

       
Note: You can set each series of data in the seriesList option to use a different marker type. The available marker types are box, circle, cross, diamond, invertedTri, and tri. A BubbleChart illustrates the available markers in the image below.

See Also

Reference

Widgets

 
Support Options