December 2017
Intermediate to advanced
282 pages
5h 54m
English
Rating gauges are used to represent the feedback rating of an object through the metric value over a scale. An ojRatingGauge component can be added with a value, and is available in different shapes, colors, directions, and states. The following example shows the standard rating gauge representation:
<div id='gauge-container'> <svg height="0" width="0"> <defs> <pattern id="pattern" width="3" height="3" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"> <rect width="3" height="3" fill="#336791"></rect> <rect x="1.5" width="3" height="3" fill="#ADD8E6" ></rect> </pattern> <pattern id="hoverPattern" width="3" height="3" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"> <rect width="3" height="3" fill="red"></rect> ...
Read now
Unlock full access