You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option to include labels inside the areas of an AreaMap (and possibly also inside the points of a Point or Bubble Map).
Would save user from having to hover the area/point and would make map more suitable for printing/PDF.
What problem would this solve?
No response
How should it work?
I think a prop similar to labels for charts would work here (e.g., labels=true).
Difficulty will be offering customization of the label, which I think is more necessary here than in a chart. For example, if I had a collection of regions on the map with sales data and contribution margins, I might want the label to show:
Region name
Sales
Margin %
Or some subset of those. Configuring the custom label could be challenging.
If we want to offer full customization, I think AreaMap tooltips are the best place to copy the interface
If we want to offer semi-configurable labels, I think ReferenceLine is the best place to look (default with parts that can be turned off)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Option to include labels inside the areas of an AreaMap (and possibly also inside the points of a Point or Bubble Map).
Would save user from having to hover the area/point and would make map more suitable for printing/PDF.
What problem would this solve?
No response
How should it work?
I think a prop similar to labels for charts would work here (e.g.,
labels=true
).Difficulty will be offering customization of the label, which I think is more necessary here than in a chart. For example, if I had a collection of regions on the map with sales data and contribution margins, I might want the label to show:
Or some subset of those. Configuring the custom label could be challenging.
If we want to offer full customization, I think AreaMap tooltips are the best place to copy the interface
If we want to offer semi-configurable labels, I think ReferenceLine is the best place to look (default with parts that can be turned off)
Beta Was this translation helpful? Give feedback.
All reactions