SVG shapes
SVG shapes: the d of arcs, ticks and pies around an element, and of ranges and ticks along a bar, in any group.
| Export | What it does |
|---|---|
createSvgArcPath | Creates the d of an arc around the center of an element, in any group: the track of a gauge around its hub. |
createSvgArcTicksPath | Creates the d of evenly spaced graduations along an arc, around the center of an element in any group: count intervals give count + 1 ticks. |
createSvgBarRangePath | Creates the d of the part of a bar between two ratios, across its whole thickness, in any group: the fill level of a bar graph (0 to the value) or a threshold zone. |
createSvgBarTicksPath | Creates the d of evenly spaced graduations along a bar, in any group: count intervals give count + 1 ticks, across the bar from one of its sides. |
createSvgPiePath | Creates the d of a pie slice joined to the center of an element, in any group: a radar sector, a remaining-time disk, to fill. |
getSvgArcPoint | Finds a point along an arc, in the coordinates of an element of any group: where to put the label of a graduation or a marker. |
SvgArc | An arc around the center of an element, for createSvgArcPath and its siblings (0° up, clockwise). |
SvgBar | A bar gauge laid on the box of an element, for createSvgBarRangePath and createSvgBarTicksPath. |