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

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

Gradient keys.
NameTypeDescription
colorstringKey color - https://www.w3schools.com/html/html_colors.asp.
offsetnumberGradient key value (0 to 1).
opacitynumber | undefinedKey color opacity (0 to 1).