Options
All
  • Public
  • Public/Protected
  • All
Menu

A base class for Tick Coordinate Providers, which convert arrays of major and minor ticks (data values) into pixel coordinates.

Hierarchy

Index

Properties

parentAxis

parentAxis: AxisCore

The parent AxisCore. This will be set once attachedToAxis is called

Methods

attachedToAxis

  • Called when the TickCoordinatesProvider is attached to an Axis

    Parameters

    • axis: AxisCore

      The Axis we are attached to.

    Returns void

Abstract getTickCoordinates

  • getTickCoordinates(majorTicks: number[], minorTicks: number[]): { majorTickCoords: number[]; minorTickCoords: number[] }
  • Converts arrays of major and minor ticks (data values) into structure containing pixel coordinates

    Parameters

    • majorTicks: number[]
    • minorTicks: number[]

    Returns { majorTickCoords: number[]; minorTickCoords: number[] }

    • majorTickCoords: number[]
    • minorTickCoords: number[]

Generated using TypeDoc