AUTEUR v0.1.6
AUTEUR v0.1.6

Highlight group when value is greater or equal to:

150000

import { Draft, Threshold } from "auteur";

const chart = useRef(new Draft());

const [threshold, setThreshold] = useState(150000);
const newThreshold = useRef(new Threshold("value", threshold, "geq"));

newThreshold.current.selection(arcs);

chart.current.layer(ref.current)
		.exclude({"name":["fill"]})
		.augment(newThreshold.current.getAugs());
View raw data