charton API / @chart-on/ui / index / createColorControl
Function: createColorControl()
createColorControl(
options):ColorControl
Defined in: ui/src/color-control.ts:76
A swatch button that opens a picker with a swatch palette, a custom color input and an opacity slider (0 to 100%). The opacity is kept when a swatch or custom color is picked, unless it is 0, which becomes 100%.