Nativescript plugin for Charts
    Preparing search index...

    Namespace Utils

    Utilities class that has some helper methods. Needs to be initialized by calling Utils.init(...) before usage. Inside the Chart.init() method, this is done, if the Utils are used before that, Utils.init(...) needs to be called manually.

    Variables

    arrayToNativeArray
    createArrayBuffer
    createArrayBufferOrNativeArray
    createNativeArray
    DEG2RAD
    density
    nativeArrayToArray
    NUMBER_EPSILON
    pointsFromBuffer
    RAD2DEG
    supportsDirectArrayBuffers

    Functions

    calcPosNegSum
    calcSum
    calcSumToIndex
    calcTextHeight
    calcTextSize
    calcTextWidth
    clipPathSupported
    convertDpToPixel
    convertPixelsToDp
    drawMultilineText
    drawMultilineTextConstrained
    drawXAxisValue
    formatNumber
    generateDefaultValueFormatter
    getArrayItem
    getDecimals
    getDefaultValueFormatter
    getLineHeight
    getLineHeightFromMetrics
    getLineSpacing
    getLineSpacingFromMetrics
    getNormalizedAngle
    getPosition
    getSizeOfRotatedRectangleByDegrees
    getSizeOfRotatedRectangleByRadians
    getTempArray
    getTemplatePaint
    getTempMatrix
    getTempPaint
    getTempPath
    getTempRect
    getTempRectF
    init
    nextUp
    roundToNextSignificant
    toRadians