Open markusschweitzer opened 2 years ago
Hi, if you have one donought or pie chart with one entry (= 100%) the tooltip shows the scientific (exponential) notation instead of 100%
Create a Chart with one dataset and one entry.
<Chart type={EChartTypes.Doughnut} title='testcard' data={{ labels: ['test'], datasets: [{ label: 'test', data: [1] }] }} />
Tooltip should show 100% (1)
100% (1)
Tooltip shows 1e+2% (1)
1e+2% (1)
@markusschweitzer : Hi! Do you have found any workaround? I have the same problem.
Hi, if you have one donought or pie chart with one entry (= 100%) the tooltip shows the scientific (exponential) notation instead of 100%
Reproduction
Create a Chart with one dataset and one entry.
Expected Behavior
Tooltip should show
100% (1)
Actual Behavior
Tooltip shows
1e+2% (1)