viz.renderers.CurveData
export interface CurveData {
/** Points on the curve */
points: CurvePoint[];
/** Area Under Curve */
auc: number;
/** Label for this curve (e.g., class name) */
label?: string;
/** Color [r, g, b] in 0-1 range */
color?: [number, number, number];
}points(CurvePoint[])- – Points on the curve
auc(number)- – Area Under Curve
label(string)optional- – Label for this curve (e.g., class name)
color([number, number, number])optional- – Color [r, g, b] in 0-1 range
A single curve with metadata.