Skip to content
EliteChart

PlotInsets

Documentation


Documentation / @elitechart/core / PlotInsets

Defined in: theme/responsive.ts:58

Plot insets (axis gutter sizes) in CSS pixels. The chart shrinks gutters at narrow widths so the plot doesn't lose half its real estate to axis labels on phones.

Example

code
const insets: PlotInsets = { priceAxisWidth: 64, timeAxisHeight: 22 };

Properties

priceAxisWidth

code
readonly priceAxisWidth: number;

Defined in: theme/responsive.ts:59


timeAxisHeight

code
readonly timeAxisHeight: number;

Defined in: theme/responsive.ts:60