ZoomCharts Documentation

NetChart.settings.legend.advanced

This section is defined by the type NetChartSettingsLegendAdvanced.

Advanced settings which may change in the future.

Properties

selectedBackground: string
Default value: "rgba(208,233,255,0.3)"

Background color for selected legend entry.

selectedBorder: string
Default value: "rgba(208,233,255,0.3)"

Border color for selected legend entry.

showItemsWithClasses: "any" | "all"
Default value: "any"

When an item (node or link) has several classes applied, and the legend has some of them enabled, and some of the disabled, this governs whether that element is visible. If an element has no classes applied, it is always visible. If a class is applied to an element but is not shown in the legend (showInLegend=false), then this class is ignored for the calculation.

Valid values:
  • any An item is visible if at least one of its classes is enabled
  • all An item is visible only if all its classes are enabled
textColorDisabled: string
Default value: "rgba(64,62,62,0.3)"
Introduced in version 1.15.0.

Style for legend entry text when a disabled item is displayed.

X