Wijmo UI for the Web
Pull Out Pie Wedges
Show AllShow All
Hide AllHide All

Building on the Quick Start example, you can pull out wedges of the pie using the offset attribute of the seriesList option.

  1. In the <head> section of your HTML file, replace the script that includes the document ready function with this one, which has the offset attribute set to 0 for all but two of the pie wedges. 

    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 chart appears like the one in the live widget below, with the MacBook pie slice pulled out 20 pixels, and the Mac Mini slice pulled out 80 pixels.

See Also

Reference

 
Support Options