View as Markdown

API reference: @salmonui/charts/sankey-chart

SankeyChartTextinterface

import type { SankeyChartText } from '@salmonui/charts/sankey-chart';
interface SankeyChartText {
    readonly sankeyChart: string;
    readonly legend: string;
    readonly source: string;
    readonly target: string;
    readonly value: string;
}

Built-in text of a SankeyChart (text prop; the sankeyChart entry of a LocaleProvider catalog).

SankeyChartText members (5)
NameSignatureDescription
sankeyChartreadonly sankeyChart: string;

Name and role description of the chart when there is no title. Default "Sankey chart".

legendreadonly legend: string;
sourcereadonly source: string;

Data table headers.

targetreadonly target: string;
valuereadonly value: string;