ZoomCharts Documentation

NetChart.settings.legend.panel

This section is defined by the type BaseSettingsLegendPanel.

Legend enclosing panel settings.

Properties

align: "left" | "right" | "top" | "bottom" | "center" | "fill"
Default value: "left"
Inherited from: BaseSettingsChartPanel

Panel alignment

Valid values:
  • left
  • right
  • top
  • bottom
  • center
  • fill
floating: boolean
Default value: false
Inherited from: BaseSettingsChartPanel

Whether allow packing over other panels

location: "outside" | "inside" | "external"
Default value: "outside"
Inherited from: BaseSettingsChartPanel

The location of the panel

Valid values:
  • outside - The panel is located outside of the chart area, which is achieved by reducing the size of the chart area.
  • inside - The panel is located inside the chart area, possibly overlapping the chart
  • external - The panel is located outside of the chart area. This option is only available for panels that use HTML elements instead of being drawn on the canvas.
margin: number
Default value: 0
Inherited from: BaseSettingsChartPanel

Margin around the panel

padding: number
Default value: 0
side: "top" | "bottom" | "left" | "right"
Default value: "bottom"
Inherited from: BaseSettingsChartPanel

Panel side

Valid values:
  • top
  • bottom
  • left
  • right
X