View as Markdown

API reference: @salmonui/charts/chart

ChartPaneSizetype

import type { ChartPaneSize } from '@salmonui/charts/chart';
type ChartPaneSize = number | string | {
    readonly size?: number | string | undefined;
};

A pane row height or column width: px, 'n%' of the plot, or { size }; unsized panes share the rest.