viz.renderers.CurveOptions
export interface CurveOptions {
/** Title for the chart */
title?: string;
/** Show legend (default: true) */
showLegend?: boolean;
/** Show diagonal reference line for ROC (default: true) */
showDiagonal?: boolean;
/** Show grid lines (default: true) */
showGrid?: boolean;
/** Line width in pixels (default: 2) */
lineWidth?: number;
/** Background color as [r, g, b, a] */
backgroundColor?: [number, number, number, number];
/** Highlight a specific threshold */
highlightThreshold?: number;
/** Target to render to */
target?: RenderTarget;
}title(string)optional- – Title for the chart
showLegend(boolean)optional- – Show legend (default: true)
showDiagonal(boolean)optional- – Show diagonal reference line for ROC (default: true)
showGrid(boolean)optional- – Show grid lines (default: true)
lineWidth(number)optional- – Line width in pixels (default: 2)
backgroundColor([number, number, number, number])optional- – Background color as [r, g, b, a]
highlightThreshold(number)optional- – Highlight a specific threshold
target(RenderTarget)optional- – Target to render to
Options for curve rendering.