Wijmo UI for the Web
Create a Custom Pointer
Show AllShow All
Hide AllHide All

Building on the Quick Start example, you can customize the size, color and shape of the pointer, and of the cap at the center of the gauge using the pointer and cap 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 axis label rotation and the marker type and uses the seriesStyles option to change the color of the markers and the color and width of the lines. 

    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 gauge appears like the one in the live widget below, with a 16-pixel wide blue violet pointer and a dark blue cap.

See Also

Widgets

Reference

 
Support Options