MarkGraph.setDefaultOpacity() method

set default opacity for all the marks

Signature:

setDefaultOpacity(opacity: number, isOverride?: boolean): void;

Parameters

ParameterDescription
opacityopacity, 0-1
isOverrideif true, all the previous marks will be redrawn by the new opacity

Returns:

void