@wavemaker/app-ng-runtime 11.5.1-rc.5429 → 11.5.1-rc.5433
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.
- app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +1 -1
- app-ng-runtime/components/chart/esm2020/chart.utils.mjs +2 -2
- app-ng-runtime/components/chart/fesm2015/index.mjs +1 -1
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -0
- app-ng-runtime/scripts/@wavemaker.com/nvd3/build/nv.d3.min.js +0 -1
|
@@ -472,7 +472,7 @@ const removeTrailingZeros = value => {
|
|
|
472
472
|
// Convert value to a string if it's a number
|
|
473
473
|
const stringValue = typeof value === 'number' ? value.toString() : value;
|
|
474
474
|
// Remove trailing zeros
|
|
475
|
-
return stringValue.replace(
|
|
475
|
+
return stringValue.replace(/\.*0+$/, "").replace(/\.0+%$/, "%");
|
|
476
476
|
};
|
|
477
477
|
// Formats the given value according to number format
|
|
478
478
|
const getNumberFormatedData = (numberFormat, d) => {
|