cmkimber / Elections_Ontario_App

Webapp to explore Elections Ontario data
0 stars 0 forks source link

add % symbols to pane 3 tooltip #14

Open cmkimber opened 2 months ago

cmkimber commented 2 months ago

When % of seats/ballots are the response variables for the pane 3 plot (rather than the absolute values), the % value is shown in the plot tooltip without the "%" symbol applied. This needs to appear conditionally in response to the inputs. Formatting tooltips in ggplotly to include dynamic input variables is tricky in general.