API Reference
Still have questions?
Contact support
You are looking at an outdated 7.13.0 version of this document. Switch to the 8.3.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
disabled boolean | undefined Disable/enable item.
iconEnabled boolean | undefined Enable/Disable icon.
iconFill | null | undefined Fill color
iconHatchFill | | | null | undefined Hatch fill for icon
iconMarkerFill | null | undefined Fill for icon marker.
iconMarkerStroke | null | undefined Stroke for icon marker.
iconMarkerType string | null | undefined Marker of icon
iconStroke | null | undefined Stroke for icon
iconTextSpacing number | null | undefined Text spacing for an 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