composition-plot

Home > composition-plot > BasePlot > setLabelColorFn

BasePlot.setLabelColorFn() method

Set the label color function

Signature:

setLabelColorFn(fn: (element: string) => RGBColor): void;

Parameters

Parameter Type Description
fn (element: string) => RGBColor Returns a label color for a given vertex

Returns:

void