fcharts-js - v0.3.0
    Preparing search index...

    Interface SeriesConfig

    Declarative description of one plotted series.

    interface SeriesConfig {
        color?: string;
        dash?: number[];
        downColor?: string;
        fillAlpha?: number;
        name: string;
        type?: "line" | "area" | "candle";
        upColor?: string;
        visible?: boolean;
        width?: number;
    }
    Index

    Properties

    color?: string

    CSS color for the line/area (wick/outline for candle). Optional — falls back to the contrast-checked DEFAULT_PALETTE by series index.

    dash?: number[]

    Dash pattern for the stroke (canvas setLineDash). Omit to auto-assign a distinct pattern per series so colour is not the only differentiator (WCAG 1.4.1). [] forces solid.

    downColor?: string

    Candle body color when close < open. Default red from the contrast-checked palette. Down candles are drawn filled.

    fillAlpha?: number

    Fill opacity for area series, 0..1. Default 0.15.

    name: string

    Human-readable name (announced to screen readers, shown in legend/tooltip).

    type?: "line" | "area" | "candle"

    line (stroked envelope), area (filled to baseline), or candle (OHLC candlesticks — consumes four y arrays: open, high, low, close). Default line.

    upColor?: string

    Candle body color when close >= open. Default green from the contrast-checked palette. Up candles are drawn hollow (outline only) so direction never relies on colour alone.

    visible?: boolean

    Whether the series starts visible. Default true.

    width?: number

    Stroke width in CSS px. Default 1.25.