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

{typedef} anychart.core.ui.Legend.LegendItemProvider Improve this Doc

Type definition for legend item provider.

Try it:

Name Type Description
iconFill anychart.graphics.vector.Fill | null | undefined Fill color
iconHatchFill anychart.graphics.vector.HatchFill.HatchFillType | anychart.graphics.vector.PatternFill | anychart.graphics.vector.HatchFill | null | undefined Hatch fill for icon
iconMarkerType string | null | undefined Marker of icon
iconStroke anychart.graphics.vector.Stroke | null | undefined Stroke for icon
iconType string | null | undefined Type for icon
index number | null | undefined Index of item
meta Object | null | undefined Meta for icon
text string | null | undefined Text for item