Documentation menu

Interface

ChartLook

What FerroChart.options() returns.

Properties

NameTypeDescription
themeThemeValues
priceAxisboolean
timeAxisboolean
grid{ horizontal: boolean; vertical: boolean; }
padding{ top: number; right: number; bottom: number; left: number; }
interaction{ pan: boolean; zoom: boolean; crosshair: boolean; }
crosshairStyle{ vertical: boolean; horizontal: boolean; labels: boolean; dot: { radius: number; color: string | null; } | null; }

Declaration

export interface ChartLook {
    theme: ThemeValues;
    priceAxis: boolean;
    timeAxis: boolean;
    grid: {
        horizontal: boolean;
        vertical: boolean;
    };
    padding: {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    interaction: {
        pan: boolean;
        zoom: boolean;
        crosshair: boolean;
    };
    crosshairStyle: {
        vertical: boolean;
        horizontal: boolean;
        labels: boolean;
        dot: {
            radius: number;
            color: string | null;
        } | null;
    };
}

Used by

FerroChart