Interface PlotObject

interface PlotObject {
    axes: {
        label: string;
        position: "bottom" | "left";
    }[];
    dimensions: {
        heigth: number;
        width: number;
    };
    meta: Record<string, string>;
    series: {
        data: {
            x: number;
            y: number;
        }[];
        displayMarker: boolean;
        label: string;
        type: "line";
    }[];
}

Properties

axes: {
    label: string;
    position: "bottom" | "left";
}[]

Type declaration

  • label: string
  • position: "bottom" | "left"
dimensions: {
    heigth: number;
    width: number;
}

Type declaration

  • heigth: number
  • width: number
meta: Record<string, string>
series: {
    data: {
        x: number;
        y: number;
    }[];
    displayMarker: boolean;
    label: string;
    type: "line";
}[]

Type declaration

  • data: {
        x: number;
        y: number;
    }[]
  • displayMarker: boolean
  • label: string
  • type: "line"