AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.12.0 version of this document. Switch to the 8.3.0 version to see the up to date information.

{typedef} anychart.graphics.vector.GradientKey Improve this Doc

Gradient keys.
Name Type Description
color string Key color - https://www.w3schools.com/html/html_colors.asp.
offset number Gradient key value (0 to 1).
opacity number | undefined Key color opacity (0 to 1).