Class: Panel

Panel

Panel instance, representing one of possibly several panels on a chart. A Panel will contain one or more y axes, corresponding to plots drawn on that panel. All panels share the same x axis.

Since:
  • 9.4.0

Type Definitions


PanelConfig

All configurations, excluding themeing, relating to the panel object go here. The panel object controls any panel. There can be multiple panels on a chart. Note: The PanelInit object this inherits from has all optional properties.

Type:
Properties:
Name Type Argument Description
border object <optional>

Panel border styling.

Properties
Name Type Argument Description
color string <optional>

Panel border color.

width string <optional>

Panel border width styling.

pattern string <optional>

Panel border pattern styling.

title object <optional>

Panel title styling.

Properties
Name Type Argument Description
color string <optional>

Panel title color.

fontSize string <optional>

Panel title font size.

fontFamily string <optional>

Panel title font family.

fontStyle string <optional>

Panel title font style (e.g. italic).

fontWeight string <optional>

Panel title font weight (e.g. bold).

Since:
  • 9.4.0


PanelInit

Properties relating to the panel that are set by default to certain values. The panel object controls any panel. There can be multiple panels on a chart.

Type:
  • object
Properties:
Name Type Argument Description
hidden boolean <optional>

Whether panel is hidden from view.

Since:
  • 10.1.0