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.
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.