AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 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).