Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Tooltip ignoring datatypes and the aggregation type is persistent #63

Open
mBoegebjerg opened this issue Apr 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mBoegebjerg
Copy link

mBoegebjerg commented Apr 13, 2023

I have a mapbox visual, with a custom tileset. Whenever, I put a measure into the "Tooltip" field on the visual and hover over the polygons on the map (based on the tileset), the tooltip will ignore any formatting from the measure.

Furthermore, the "aggregation function" under the menu "Choropleth", forces a prefix on the tooltip e.g. if I choose average, and the measure is called Measure1 it will have the name: Average Measure1 in the tooltip.

To Reproduce
Steps to reproduce the behavior:

  1. Activate Choropleth on the mapbox visual
  2. Set the following settings:
  • Level = Level 1
  • Custom Tileset
  • Input any custom tileset
  1. Change the aggregation function to Average.

Expected behavior
I expect the tooltip to follow the formating of the measure.
I expect the prefix (based on the aggregate function) not to be there, to improve flexibility. In many cases, the averaging step is done in the measure, therefore no need to have it aggregate on default in the visual.

Screenshots
image
In the picture, for the second line in the tooltip, you see the 0.94633 value, above the tooltip is a card with the same measure showing 95%.

Additional context
Add any other context about the problem here.

@mBoegebjerg mBoegebjerg added the bug Something isn't working label Apr 13, 2023
@drakvuf drakvuf self-assigned this Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants