Constructors

  • Parameters

    • parent: HTMLDivElement
    • margins: { bottom: number; left: number; right: number; top: number }
    • xy: Float32Array
    • rgb: Uint8Array

    Returns Scatterplot

Properties

backgroundColor: [number, number, number, number] = ...
boundingBox: { xMax: number; xMin: number; yMax: number; yMin: number } = ...
canvas: Selection<HTMLCanvasElement, unknown, null, unknown>
canvasScalingFactor: number = 3.0
containerSVG: Selection<SVGSVGElement, unknown, null, unknown>
cx0: null | number = null
cy0: null | number = null
draw: boolean = false
groupID: string = ...
markers: Marker[] = []
measure: boolean = false
measurements: Measurement[] = []
parent: HTMLDivElement
pointSize: number = 3
verticalExaggeration: number = 1.0
x0: number = 0.0
xDomain: [number, number] = ...
xGridColor: [number, number, number, number] = ...
y0: number = 0.0
yDomain: [number, number] = ...
yGridColor: [number, number, number, number] = ...

Accessors

Methods

  • Parameters

    • left: number
    • right: number
    • bottom: number
    • top: number
    • near: number
    • far: number

    Returns Float32Array

  • Parameters

    • gl: WebGL2RenderingContext
    • vertex_source: string
    • fragment_source: string

    Returns WebGLProgram