Options
All
  • Public
  • Public/Protected
  • All
Menu

Draws an axis title using our WebGL Rendering engine

Hierarchy

  • AxisTitleRenderer

Index

Constructors

constructor

  • Parameters

    • webAssemblyContext: TSciChart

    Returns AxisTitleRenderer

Properties

lineSpacing

lineSpacing: number = 1.1

text

text: string | string[] = ""

viewRect

viewRect: Rect = Rect.createZero()

Accessors

desiredHeight

  • get desiredHeight(): number
  • set desiredHeight(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

desiredWidth

  • get desiredWidth(): number
  • set desiredWidth(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

draw

getTitleTexture

  • getTitleTexture(text: string | string[], textStyle: TTextStyle, textureManager: TextureManager): { bitmapTexture: TSRTexture; textureHeight: number; textureWidth: number }
  • Parameters

    Returns { bitmapTexture: TSRTexture; textureHeight: number; textureWidth: number }

    • bitmapTexture: TSRTexture
    • textureHeight: number
    • textureWidth: number

layout

  • layout(rect: Rect): void
  • Parameters

    Returns void

measure

  • measure(textStyle: TTextStyle, isHorizontal: boolean): void
  • Parameters

    Returns void

Generated using TypeDoc