Winwheel.js class reference: Helper Functions
There is a helper function not part of the Winwheel.js classes so it can be used when passing the JSON parameters to the Winwheel constructor.
winwheelPercentToDegrees(percentValue)
This function takes a percent of 0-100 and converts this in to degrees of arc 0-360. Useful when setting segment sizes for pie graphs where the size of a segment needs to equate to a percentage of 100.
Refer to tutorial #16 Creating Pie graphs for an example of use.
| < Pointer Guide Class Reference |
