Home > composition-plot > BasePlot > setBorderColorFn
Set the border color function
Signature:
setBorderColorFn(fn: (sample: ISample, dp: DataProvider) => RGBColor): void;
| Parameter | Type | Description |
|---|---|---|
| fn | (sample: ISample, dp: DataProvider) => RGBColor | Returns a border color for a given sample |
Returns:
void