Container for shapes of spider axes and drawing logic.

Hierarchy

  • SpiderAxis

Properties

axisScale: Scale1D
scale: LinearScaleXY
tag: string

Methods

  • Permanently destroy the component.

    To fully allow Garbage-Collection to free the resources used by the component, make sure to remove any references to the component and its children in application code.

    let chart = ...ChartXY()
    let axisX = chart.getDefaultAxisX()
    // Dispose Chart, and remove all references so that they can be garbage-collected.
    chart.dispose()
    chart = undefined
    axisX = undefined

    Returns

    Object itself for fluent interface

    Returns void

  • Update axis label style and return its computed size. Used for computation of chart margins before drawing.

    Returns Point