I've edited the JS to use the votebuttons box ID's to listen for hover events and trigger their charts to act as if the respective segments are being hovered over as well.
This caused 'data' properties to double in modal voting windows. I think this is as the JS for the hover link is call by 'GenerateChart()' and the modal windows use the same function. Anyway have edited 'GetPreparedData()' to check for and kill off any extra unwarranted entries in 'data'.
Fixes #168
I've edited the JS to use the votebuttons box ID's to listen for hover events and trigger their charts to act as if the respective segments are being hovered over as well.
This caused 'data' properties to double in modal voting windows. I think this is as the JS for the hover link is call by 'GenerateChart()' and the modal windows use the same function. Anyway have edited 'GetPreparedData()' to check for and kill off any extra unwarranted entries in 'data'.