Nativescript plugin for Charts
    Preparing search index...

    Created by Philipp Jahoda on 17/09/16.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    enabled: boolean

    flag that indicates if this axis / legend is enabled or not

    ensureVisible: boolean

    Defines if the renderer should ensure we always see the component fully

    mTextSize: number

    the text size of the labels

    position: { x: number; y: number }

    the custom position of the description text

    text: string

    the text used in the description

    textAlign: Align

    the alignment of the description text

    textColor: string

    the text color to use for the labels

    typeface: Font

    the typeface used for the labels

    xOffset: number

    the offset in pixels this component has on the x-axis

    yOffset: number

    the offset in pixels this component has on the Y-axis

    Accessors

    • get font(): Font

      returns the Typeface used for the labels, returns null if none is set

      Returns Font

      Font

    • set font(tf: Font): void

      sets a specific Typeface for the labels

      Parameters

      • tf: Font

      Returns void

    • get textSize(): number

      returns the text size that is currently set for the labels, in pixels

      Returns number

    • set textSize(size: number): void

      sets the size of the label text in density pixels min = 6f, max = 24f, default 10

      Parameters

      • size: number

        the text size, in DP

      Returns void

    Methods

    • Returns void