Represents an axis annotation

Hierarchy

Hierarchy

  • IgxAxisAnnotation

Constructors

Properties

ngAcceptInputType_backgroundCornerRadius: string | number
ngAcceptInputType_backgroundPaddingBottom: string | number
ngAcceptInputType_backgroundPaddingLeft: string | number
ngAcceptInputType_backgroundPaddingRight: string | number
ngAcceptInputType_backgroundPaddingTop: string | number
ngAcceptInputType_labelFormatSpecifiers: string | any[]
ngAcceptInputType_strokeThickness: string | number

Accessors

  • get background(): string
  • Gets or sets the background to use for tha axis annotation box.

    Returns string

  • set background(v: string): void
  • Parameters

    • v: string

    Returns void

  • get backgroundCornerRadius(): number
  • Gets or sets the corner radius to use for the axis annotation borders.

    Returns number

  • set backgroundCornerRadius(v: number): void
  • Parameters

    • v: number

    Returns void

  • get backgroundPaddingBottom(): number
  • Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.

    Returns number

  • set backgroundPaddingBottom(v: number): void
  • Parameters

    • v: number

    Returns void

  • get backgroundPaddingLeft(): number
  • Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.

    Returns number

  • set backgroundPaddingLeft(v: number): void
  • Parameters

    • v: number

    Returns void

  • get backgroundPaddingRight(): number
  • Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.

    Returns number

  • set backgroundPaddingRight(v: number): void
  • Parameters

    • v: number

    Returns void

  • get backgroundPaddingTop(): number
  • Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.

    Returns number

  • set backgroundPaddingTop(v: number): void
  • Parameters

    • v: number

    Returns void

  • get formatLabel(): ((item: any) => string)
  • Sets or gets a function which takes an object that produces a formatted label for the value of this annotation.

    Returns ((item: any) => string)

      • (item: any): string
      • Sets or gets a function which takes an object that produces a formatted label for the value of this annotation.

        Parameters

        • item: any

        Returns string

  • set formatLabel(v: ((item: any) => string)): void
  • Parameters

    • v: ((item: any) => string)
        • (item: any): string
        • Parameters

          • item: any

          Returns string

    Returns void

  • get labelFormat(): string
  • Gets or sets the label format string to use for the label.

    Returns string

  • set labelFormat(v: string): void
  • Parameters

    • v: string

    Returns void

  • get labelFormatSpecifiers(): any[]
  • Gets or sets the format specifiers to use with the LabelFormat string.

    Returns any[]

  • set labelFormatSpecifiers(v: any[]): void
  • Parameters

    • v: any[]

    Returns void

  • get outline(): string
  • Gets or sets the Outline to use for tha axis annotation box.

    Returns string

  • set outline(v: string): void
  • Parameters

    • v: string

    Returns void

  • get strokeThickness(): number
  • Gets or sets the border stroke thickness to use for tha axis annotation box.

    Returns number

  • set strokeThickness(v: number): void
  • Parameters

    • v: number

    Returns void

  • get text(): string
  • Gets or sets the text that should be displayed for the annotation. Leave null to display the value automatically.

    Returns string

  • set text(v: string): void
  • Parameters

    • v: string

    Returns void

  • get textColor(): string
  • Gets or sets the color to use for the text in the annotation.

    Returns string

  • set textColor(v: string): void
  • Parameters

    • v: string

    Returns void

  • get value(): any
  • Gets or sets the value at which this annotation is displayed on the axis.

    Returns any

  • set value(v: any): void
  • Parameters

    • v: any

    Returns void

Methods

  • Parameters

    • name: string

    Returns any

  • Returns void

  • Returns string