Rings fill one at a time with the camera riding each head, then it pulls back on the whole chart.
Props
Every prop has a default, so the component renders as it is. Change any of them in Studio or in code.
datalist
The rings, innermost first.
titlestring = "Goal completion"
Heading.
subtitlestring = "Share of target reached, by channel"
Muted line under the heading.
centerLabelstring = "Average"
Label under the average in the middle.
modelight | dark = "light"
Colour theme: light or dark.
paletteprimary | monochrome | ocean | sunset | grove | vivid = "primary"
Chart palette: primary (indigo, yellow, fuchsia, mist, black), monochrome, ocean, sunset, grove or vivid.
format.prefixstring
Before the number, e.g. "$".
format.suffixstring
After the number, e.g. "%" or "k".
format.decimalsinteger
Digits after the decimal point.
format.groupstring
Thousands separator, a comma by default. Empty for none.
strokeWidthnumber = 58
Thickness of each ring in pixels.
ringGapnumber = 14
Gap between rings in pixels.
ringSecondsnumber = 1.5
Time a ring takes to fill from empty to full (shorter for shorter rings).
holdSecondsnumber = 1.6
How long the last frame holds.
camera.tightZoomnumber = 2
Zoom while riding a ring.
camera.wideZoomnumber = 1.02
Zoom of the whole chart.
camera.orbitnumber = 0.7
How far the camera follows the head around the ring (1 rides on it).
camera.motionBlurnumber = 1
Strength of the motion blur on the fast moves; 0 turns it off.
camera.rackFocusnumber = 4
Blur in pixels on ring names other than the current ring.
Compositions
- RingChart