localgovdrupal / localgov_elections

This module provides submodules, content types, views and configuration that allow the reporting of election results for the LocalGov Drupal distribution.
GNU General Public License v2.0
1 stars 1 forks source link

sets chart restults to use whole numbers #122

Closed markconroy closed 3 months ago

markconroy commented 3 months ago

Closes #108

What does this change?

Sets items on the x axis to use whole numbers instead of decimals. Currently, the results for "how many seats won" go from 0.0 to 1.0, so if a part wins 3 seats we report they have won 0.3 seats.

This fixes that.

Images

Before

Screenshot 2024-08-05 at 16 55 04

After

Screenshot 2024-08-05 at 16 55 22


Thanks to Big Blue Door for sponsoring my time to work on this.