composition-plot

Home > composition-plot > CategoryLegend > setLabels

CategoryLegend.setLabels() method

Set the category labels

Signature:

setLabels(labels: string[]): void;

Parameters

Parameter Type Description
labels string[] The names of the categories

Returns:

void