panodata-map-panel icon indicating copy to clipboard operation
panodata-map-panel copied to clipboard

Formatting of numbers in tooltip

Open amotl opened this issue 5 years ago • 7 comments

@neilstuartcraig asked over at https://github.com/grafana/worldmap-panel/issues/240 to format the value within a tooltip with e.g. comma separators for thousands in order to improve the usability.

image

amotl avatar Jan 02 '20 22:01 amotl

I have similar problem, we are representing latency which is reported in microseconds, when it becomes a few seconds the number is extremely large to comprehend for a user, there is UNIT TYPE in display formatting which is used in all other grafana panels which automatically provides the feature to select the unit for the metric which is extremely useful, could you please add that UNIT TYPE feature for primary metric for map panel ? thanks

vmanju123 avatar Apr 09 '20 01:04 vmanju123

image

vmanju123 avatar Apr 09 '20 01:04 vmanju123

I found the issue with displaying the rounded value. Not related to Garfana at all. It was elastic search doing it because we hade no defined the types correctly and ES was using the type.

robouden avatar Apr 09 '20 01:04 robouden

sorry are you talking about this issue or something else ?

vmanju123 avatar Apr 09 '20 14:04 vmanju123

@amotl - any ideas here to fix this ? thanks

vmanju123 avatar May 19 '20 21:05 vmanju123

Dear @vmanju123,

Could you please add that UNIT TYPE feature for primary metric for map panel?

thanks for carrying your specific request over to #55. Sorry that I am currently not able to work on this.

Cheers, Andreas.

amotl avatar Jul 01 '20 23:07 amotl

At very least I was thinking it'd be good to have a Decimals setting like the Graph panel has. Then we wouldn't have the possibility of crazy long decimals for smaller values.

Would be really nice to include all the same formatting options (units, k/M/G suffixes), but probably more work for that.

matschaffer avatar Dec 26 '20 07:12 matschaffer