Interface PlotObject

interface PlotObject {
    axes: {
        label: string;
        position: "left" | "bottom";
    }[];
    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: "left" | "bottom";
}[]

Type declaration

  • label: string
  • position: "left" | "bottom"
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"