apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.03k stars 1.28k forks source link

Multiline "Total" breaks after hovering over the donut chart #4493

Closed dariabaklykova closed 3 weeks ago

dariabaklykova commented 1 month ago

Description

The multiline total name breaks after hovering over chart

Steps to Reproduce

  1. create any donut chart
  2. set showAlways: true (optional, it breaks in both cases true or false)
  3. set some multiline total name ['First', 'Second']
  4. hover over any section or center
  5. total name becomes 'First, Second'

Expected Behavior

the total name stay multiline

Actual Behavior

the total name becomes a single line with a comma

Screenshots

image image

Reproduction Link

(Link to reproduce)