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.core.ui.Legend.LegendItemProvider Improve this Doc

Type definition for legend item provider.
NameTypeDescription
disabledboolean | undefinedDisable/enable item.
iconEnabledboolean | undefinedEnable/Disable icon.
iconFillanychart.graphics.vector.Fill | null | undefinedFill color
iconHatchFillanychart.graphics.vector.HatchFill.HatchFillType | anychart.graphics.vector.PatternFill | anychart.graphics.vector.HatchFill | null | undefinedHatch fill for icon
iconMarkerFillanychart.graphics.vector.Fill | null | undefinedFill for icon marker.
iconMarkerStrokeanychart.graphics.vector.Stroke | null | undefinedStroke for icon marker.
iconMarkerTypestring | null | undefinedMarker of icon
iconStrokeanychart.graphics.vector.Stroke | 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