@oliasoft-open-source/charts-library 4.3.8 → 4.3.9-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -39821,7 +39821,7 @@ const getBarChartDataLabels = (options) => {
39821
39821
  if (Array.isArray(dataElement)) {
39822
39822
  if (dataElement.length === 2) {
39823
39823
  const sum = dataElement[1] - dataElement[0];
39824
- dataLabel = sum < 0 ? sum : `+${sum}`;
39824
+ dataLabel = sum < 0 ? round$2(sum, 2) : `+${round$2(sum, 2)}`;
39825
39825
  } else {
39826
39826
  dataLabel = dataElement.reduce((acc, curr, i2) => {
39827
39827
  return i2 === 0 ? `${acc} ${curr}` : `${acc}, ${curr}`;