AnyChart
API Reference
Still have questions?
Contact support
Top

{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 | undefinedIcon fill of the legend item.
iconHatchFillanychart.graphics.vector.HatchFill.HatchFillType | anychart.graphics.vector.PatternFill | anychart.graphics.vector.HatchFill | null | undefinedHatch fill for the icon.
iconMarkerFillanychart.graphics.vector.Fill | null | undefinedFill for the icon marker.
iconMarkerStrokeanychart.graphics.vector.Stroke | null | undefinedStroke for the icon marker.
iconMarkerTypeanychart.enums.MarkerType | string | null | undefinedType of the icon marker.
iconStrokeanychart.graphics.vector.Stroke | null | undefinedIcon stroke of the legend item.
iconTextSpacingnumber | null | undefinedText spacing for an icon.
iconTypeanychart.enums.LegendItemIconType | string | null | undefinedIcon type of the legend item.
indexnumber | null | undefinedItem index.
metaObject | null | undefinedMeta of the legend item.
textstring | null | undefinedItem text.