Top
You are looking at an outdated 7.14.3 version of this document. Switch to the 8.0.1 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 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
iconMarkerFill anychart.graphics.vector.Fill | null | undefined Fill for icon marker.
iconMarkerStroke anychart.graphics.vector.Stroke | null | undefined Stroke for icon marker.
iconMarkerType string | null | undefined Marker of icon
iconStroke anychart.graphics.vector.Stroke | 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