Briyah SDK - v2.0.18
    Preparing search index...

    Function formatChartValue

    • A value as the reader sees it. compact shortens large numbers for an axis (950K, 1.2M); labels on the data use the full figure.

      Parameters

      • value: number
      • format: ChartValueFormat = 'number'
      • compact: boolean = false
      • compactDigits: number = 1

      Returns string