ZoomCharts Documentation
Version: 1.21.1 (2024-11-08)
NetChart.settings.legend.panel
This section is defined by the type BaseSettingsLegendPanel.
Legend enclosing panel settings.
Properties
align: "left" | "right" | "top" | "bottom" | "center" | "middle" | "fill"
Default value: "left"
Inherited from: BaseSettingsChartPanel
Panel alignment
Valid values:- left
- right
- top
- bottom
- center
- middle
- 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
shouldFill: boolean
Default value: false
Whether to use space beyond chart boundaries
side: "top" | "bottom" | "left" | "right"
Default value: "bottom"
Inherited from: BaseSettingsChartPanel
Panel side
Valid values:- top
- bottom
- left
- right