Class Aesthetic<GlValueType, JSValueType, ChannelType>Abstract

Type Parameters

  • GlValueType extends PossibleGLVals = number

  • JSValueType = number

  • ChannelType extends RootChannel = DefaultChannel

Hierarchy

Constructors

  • Type Parameters

    • GlValueType extends PossibleGLVals = number

    • JSValueType = number

    • ChannelType extends RootChannel = DefaultChannel

    Parameters

    Returns Aesthetic<GlValueType, JSValueType, ChannelType>

Properties

_constant?: JSValueType
_domain?: [number, number]
_func?: ((d: string | number) => GlValueType)

Type declaration

    • (d: string | number): GlValueType
    • Parameters

      • d: string | number

      Returns GlValueType

_range: [number, number] | Uint8Array
_scale?: ((p: string | number) => JSValueType)

Type declaration

    • (p: string | number): JSValueType
    • Parameters

      • p: string | number

      Returns JSValueType

_texture_buffer: Float32Array | Uint8Array = null
_textures: Record<string, Texture2D> = {}
_transform: Transform = 'linear'
aesthetic_map: TextureSet
current_encoding: ChannelType = null
dataset: Dataset<any>
default_constant: JSValueType
default_range: [number, number]
default_transform: Transform
field: string = null
id: string
partner: Aesthetic<GlValueType, JSValueType, ChannelType> = null
regl: Regl
scatterplot: Plot

Accessors

  • get range(): [number, number] | Uint8Array
  • Returns [number, number] | Uint8Array

  • get scale(): ((arg0: any) => JSValueType)
  • Returns ((arg0: any) => JSValueType)

      • (arg0: any): JSValueType
      • Parameters

        • arg0: any

        Returns JSValueType

  • get texture_buffer(): Float32Array | Uint8Array
  • Returns Float32Array | Uint8Array

Methods

  • Parameters

    • point: Datum

    Returns JSValueType

  • Parameters

    • field: string
    • range: number[]
    • raw_func: string | ((d: string | number) => GlValueType)

    Returns void

  • Returns Float32Array | Uint8Array | GlValueType[]

  • Parameters

    • range: [number, number]

    Returns void

  • Parameters

    • raw_func: string | ((d: string | number) => GlValueType)

    Returns ((d: string | number) => GlValueType) | ((d: any) => number)

  • Parameters

    • val: JSValueType

    Returns GlValueType

  • Parameters

    • encoding: string | ChannelType

    Returns void

  • Parameters

    • point: Datum

    Returns string | number

Generated using TypeDoc