Nativescript plugin for Charts
    Preparing search index...

    Class that holds predefined color integer arrays (e.g. ColorTemplate.VORDIPLOM_COLORS) and convenience methods for loading colors from resources.

    Index

    Constructors

    Properties

    COLOR_NONE: Color

    an "invalid" color that indicates that no color is set

    COLOR_SKIP: Color

    this "color" is used for the Legend creation and indicates that the next form should be skipped

    Accessors

    • get COLORFUL_COLORS(): any

      Returns any

    • get JOYFUL_COLORS(): any

      Returns any

    • get LIBERTY_COLORS(): any

      Returns any

    • get MATERIAL_COLORS(): any

      Returns any

    • get PASTEL_COLORS(): any

      Returns any

    • get VORDIPLOM_COLORS(): any

      Returns any

    Methods

    • Sets the alpha component of the given color.

      Parameters

      • color: Color
      • alpha: any

        0 - 255

      Returns Color

    • Parameters

      • c: string | number | Color

      Returns Color