rawgraphs / rawgraphs-charts

A curated selection of charts provided through RAWGraphs interface
https://rawgraphs.io/
Apache License 2.0
96 stars 42 forks source link

Date is displayed in extended format and breaks labels / ordering #101

Closed alezotta closed 3 years ago

alezotta commented 3 years ago

Date is displayed in the extended format such as Sat May 01 2021 00:00:00 GMT+0200 (Central European Summer Time) while the data input is just MM/YYYY or DD/MM/YYYY. Didn't test for other input date formats.

Resulting charts show huge labels that sometimes cover the actual graph (see screenshot 1) and make it impossible to rank by actual date as it is forced to use the fist letter of the spelled out days of the week (see screenshot 2):

screenshot 1

image

screenshot 2

image

In which chart does the bug happen?

All timeseries.

RAWGraphs Version

2.0.0-beta.10

Web browser and version

Chrome 91.0.4472.77 (Official Build) (x86_64)

Operating System

MacOS 11.3.1

Steps to reproduce this

Use the Announced column as date format MM/YYYY

Announced Country
04/2021 Italy
12/2020 Belgium
01/2020 Canada
07/2020 Austria
05/2021 Finland
mikima commented 3 years ago

@alezotta fixed in barcharts, ti will be visible from version v1.0.0-beta.23.

Are there other visual models in which you found this issue?

Thanks