Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[chore] Add tooltip format (#2269)

Igor Db255d60eb649
diff --git a/src/constants/src/tooltip.ts b/src/constants/src/tooltip.ts
index 6528eb234..cfec34f14 100644
--- a/src/constants/src/tooltip.ts
+++ b/src/constants/src/tooltip.ts
@@ -63,6 +63,12 @@ export const TOOLTIP_FORMATS = {
format: '.3~s',
type: TOOLTIP_FORMAT_TYPES.DECIMAL
},
+ DECIMAL_PERCENT_FULL_0: {
+ id: 'DECIMAL_PERCENT_FULL_0',
+ label: '.01 → 1%',
+ format: '.0%',
+ type: TOOLTIP_FORMAT_TYPES.DECIMAL
+ },
DECIMAL_PERCENT_FULL_1: {
id: 'DECIMAL_PERCENT_FULL_1',
label: '.01 → 1.0%',