charturbo - v0.1.0
    Preparing search index...

    Interface GraphChartOptions

    interface GraphChartOptions {
        colors?: ColorInput[];
        curveness?: number;
        description?: string;
        edgeColor?: "source" | "target" | "neutral";
        edgeOpacity?: number;
        edgeSymbol?: "none" | "arrow";
        edgeSymbolSize?: number;
        force?: {
            edgeLength?: number;
            gravity?: number;
            iterations?: number;
            repulsion?: number;
        };
        format?: ChartValueFormat;
        labels?: boolean;
        layout?: "none"
        | "force"
        | "circular"
        | "cartesian";
        legend?: boolean | ChartLegendOptions;
        lineWidth?: number;
        padding?: ChartPaddingOptions;
        rotateLabel?: boolean;
        symbol?: "rect" | "circle" | "triangle" | "diamond";
        symbolSize?: number | [number, number];
        title?: string;
        valueLabel?: string;
        xAxis?: GraphAxisOptions;
        yAxis?: Omit<GraphAxisOptions, "categories">;
    }

    Hierarchy

    • Pick<
          HierarchyChartOptions,
          | "title"
          | "description"
          | "colors"
          | "format"
          | "labels"
          | "padding"
          | "valueLabel",
      >
      • GraphChartOptions
    Index
    colors?: ColorInput[]

    Categorical palette in fixed order (default: the theme palette)

    curveness?: number

    Edge bend 0-1 (default 0: straight)

    description?: string

    Accessible name of the canvas

    edgeColor?: "source" | "target" | "neutral"

    Edge color: neutral (default), the source node's or the target node's

    edgeOpacity?: number
    edgeSymbol?: "none" | "arrow"

    'arrow': arrowheads at the targets

    edgeSymbolSize?: number

    Arrow length in CSS px (default 8)

    force?: {
        edgeLength?: number;
        gravity?: number;
        iterations?: number;
        repulsion?: number;
    }

    Value text of labels, tooltip, center and a11y (spec like '$,.0f', Intl options, or a function)

    labels?: boolean

    DOM labels where they fit (default: true)

    layout?: "none" | "force" | "circular" | "cartesian"

    'force' (default), 'circular', 'none' (given x / y), 'cartesian' (x / y on value axes)

    legend?: boolean | ChartLegendOptions

    Category legend (default: shown with categories); click toggles, hover emphasizes

    lineWidth?: number

    Edge width in CSS px (default 1)

    Plot margins (CSS px)

    rotateLabel?: boolean

    Circular: labels run outward along the radius

    symbol?: "rect" | "circle" | "triangle" | "diamond"
    symbolSize?: number | [number, number]

    Diameter in CSS px (default 10), or [min, max] scaled linearly by value

    title?: string
    valueLabel?: string

    Tooltip / table name of the values (default: 'Value' in the chart language)

    yAxis?: Omit<GraphAxisOptions, "categories">