API Reference
Still have questions?
Contact support
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.core.ui.Legend.LegendItemProvider Improve this Doc

Type definition for legend item provider.
disabledboolean | undefinedDisable/enable item.
iconEnabledboolean | undefinedEnable/Disable icon. | null | undefinedFill color | | | null | undefinedHatch fill for icon | null | undefinedFill for icon marker. | null | undefinedStroke for icon marker.
iconMarkerTypestring | null | undefinedMarker of icon | null | undefinedStroke for icon
iconTextSpacingnumber | null | undefinedText spacing for an icon.
iconTypestring | null | undefinedType for icon
indexnumber | null | undefinedIndex of item
metaObject | null | undefinedMeta for icon
textstring | null | undefinedText for item