Dot plot

Hierarchy (view full)

  • Plot<DotPlotOptions>
    • DotPlot

Constructors

Properties

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

Accessors

  • get offset(): number
  • Returns number

Methods

  • Renders dot plot to canvas context

    Parameters

    • ctx: CanvasRenderingContext2D
    • scale: Scale

    Returns void

  • Sets the plot data

    Parameters

    • data: any

      Data for all plots on track

    • Optional scale: Scale
    • Optional plotOptions: Map<string | number, DotPlotOptions>

    Returns Plot<PlotOptions>

  • Set multiple options

    Parameters

    • options: any

      object containing options to set

    Returns Plot<PlotOptions>

Generated using TypeDoc