ITDP / atlas

The frontend code for the Atlas of Urban Transport
MIT License
0 stars 0 forks source link

Comparison lists city names twice (for indicators with only one timepoint) #36

Open dtreich-itdp opened 12 months ago

dtreich-itdp commented 12 months ago

When comparing cities/districts on an indicator that only has one timepoint, the Atlas shows a column graph. It lists the name of each city/district twice -- once below the x-axis of the graph, and once in a 'legend' above the graph.

I suggest keeping only one of those lists, and I prefer to keep the labels on the x-axis and get rid of the legend.

Of course, we definitely need to keep the legend for line graphs (indicators with multiple timepoints)!

kauebraga commented 11 months ago

Would you mind giving an example? In my case I can only see the labels on the top

image
kauebraga commented 11 months ago

It only appears when you maximize the comparison