Nativescript plugin for Charts
    Preparing search index...

    Function calcTextSize

    • calculates the approximate size of a text, depending on a demo text avoid repeated calls (e.g. inside drawing methods)

      Parameters

      • paint: Paint
      • demoText: any

      Returns { height: number; width: number }