Skip to content

Commit

Permalink
[chore] Add tooltip format (#2269)
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Co-authored-by: Xun Li <lixun910@gmail.com>
  • Loading branch information
igorDykhta and lixun910 committed Jun 20, 2023
1 parent 7b45e4f commit b255d60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/constants/src/tooltip.ts
Expand Up @@ -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%',
Expand Down

0 comments on commit b255d60

Please sign in to comment.