ZoomCharts Documentation

Version: 1.21.20 (2026-09-08)
Switch to Version 2.0 (BETA)

ZoomCharts.Configuration.LinearChartSettingsCommentsPanelLevels

Optional band listing dataset levels above the scrollable comment list. When enabled with {@link SettingsComments.panelTitlebar}, this band sits below the titlebar separator. The comment list clip region, scroll, and top arrow start below both header bands.

Methods

This type does not define any methods.

Properties

allLabel: string

Label for the All pseudo-level row.

countStyleDeactivated: BaseSettingsLabelStyle
countSuffix: string

Text after the per-level count (e.g. " comments""3 comments"). Empty/null shows only the number.

enabled: boolean
maxHeight: number

Max height of the levels band in pixels (title + rows + separator). Null/undefined = no absolute pixel ceiling. When content exceeds the effective cap (see also {@link maxHeightFraction}), the title stays fixed and the rows scroll with arrows.

maxHeightFraction: number

Max share of the comments panel below the titlebar that the levels band may occupy (0..1). Combined with {@link maxHeight} when both are set: the stricter (smaller) limit wins. Default 0.5 so levels cannot dominate the panel on short charts, while still growing with resize until an absolute {@link maxHeight} (if any) is reached. Null/undefined disables the relative cap.

nameMinWidth: number

Minimum width reserved for the level name after the count label is placed on the right.

nameStyleDeactivated: BaseSettingsLabelStyle
padding: number

Outer padding of the levels band content.

rowMargin: number

Margin around each level row (outside the selected background).

rowPadding: number

Padding inside each level row (inside the selected background).

selectedBackground: BaseSettingsBackgroundStyle

Background of the selected row (padding box; excludes row margin).

selectedBorderRadius: number
separatorColor: string
separatorWidth: number
title: string

Optional header above the level rows. Empty/null hides the title.

X