@equinor/videx-wellog
    Preparing search index...

    Class Plot<PLOT_OPTIONS>Abstract

    Abstract base class for plots

    Type Parameters

    • PLOT_OPTIONS extends PlotOptions = PlotOptions

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    data: any
    id: string | number
    options: PLOT_OPTIONS
    range: Range
    scale: Scale

    Accessors

    Methods

    • Plot function should be overridden

      Parameters

      • ctx: CanvasRenderingContext2D
      • scale: Scale

      Returns void

    • Sets the plot data

      Parameters

      • data: any

        Data for all plots on track

      • Optionalscale: Scale
      • OptionalplotOptions: Map<string | number, PLOT_OPTIONS>

      Returns Plot

    • Set option

      Parameters

      • key: string
      • value: any

      Returns Plot

    • Set multiple options

      Parameters

      • options: any

        object containing options to set

      Returns Plot

    • Parameters

      • data: any
      • graphOptions: any

      Returns void