Variable config

config: {
    animation: {
        blocking: boolean;
        durationMs: number;
        easing: ((x) => number);
        numberOfTimes: number;
        repeat: boolean;
        reverse: boolean;
        yoyo: boolean;
    };
    arrowTipSize: number;
    canvasHeight: number;
    canvasInstance: undefined | Canvas;
    canvasPadding: number;
    canvasWidth: number;
    lineWidth: number;
    renderer: "html" | "rough";
    responsiveResize: boolean;
    showFps: boolean;
    standoff: number;
    text: {
        size: number;
    };
    xTicks: number;
    yTicks: number;
} = ...

Type declaration

  • animation: {
        blocking: boolean;
        durationMs: number;
        easing: ((x) => number);
        numberOfTimes: number;
        repeat: boolean;
        reverse: boolean;
        yoyo: boolean;
    }
    • blocking: boolean
    • durationMs: number
    • easing: ((x) => number)
        • (x): number
        • Parameters

          • x: number

          Returns number

    • numberOfTimes: number
    • repeat: boolean
    • reverse: boolean
    • yoyo: boolean
  • arrowTipSize: number
  • canvasHeight: number
  • canvasInstance: undefined | Canvas
  • canvasPadding: number
  • canvasWidth: number
  • lineWidth: number
  • renderer: "html" | "rough"
  • responsiveResize: boolean
  • showFps: boolean
  • standoff: number
  • text: {
        size: number;
    }
    • size: number
  • xTicks: number
  • yTicks: number