strange 'emsc' displaying on axis and legend

This issue has been tracked since 2022-01-27.

I see this emsc appearing on my legend and axis
but this isn't part of my data.

image

any idea where is this coming from?

Thanks

simzer wrote this answer on 2022-01-27

Hi, this bug should not appear in the newest version 0.4.2. Which version do you use?

mathieujobin wrote this answer on 2022-01-27

looks like I am a little behind...
https://cdn.jsdelivr.net/npm/[email protected]/dist/vizzu.min.js

can I just bump the version in there?

mathieujobin wrote this answer on 2022-01-27

Thanks, I've upgraded to 0.4.2

emsc no longer appears, but the legend still shows a blank entry

https://covid19.solidcode.bz/covid/tokyo_cases_per_city
I am not seeing a hole in my data? https://covid19.solidcode.bz/covid/tokyo_cases_per_city_data.js

its a minor annoyance for me, but could be more problematic for others

simzer wrote this answer on 2022-01-27

I'm not seeing the blank entry on the link. Am I missing something?
download

simzer wrote this answer on 2022-01-27

Ok, I managed to reproduce the problem. Thanks for the report.

mathieujobin wrote this answer on 2022-01-29

awesome to hear you found the bug with the legend !

I found another bug, I don't know if you prefer me to open a new issue, but the y-avis values disappear after doing some animation.
I'm switching data series.

please check my updated version, with more buttons to switch data
https://covid19.solidcode.bz/covid/tokyo_cases_per_city

simzer wrote this answer on 2022-01-29

I see, it seems to be unrelated. Could you please open another issue for it? Thanks for reporting these.

simzer wrote this answer on 2022-01-29

I've managed to find the problem. It is not a bug in the library. The problem is caused by the "plot-axis-label-draw" event handler, which works on both axles and filters out the labels on the Y axis.

simzer wrote this answer on 2022-01-29

One solution with the current version would be to check the event.data.rect object inside the event handler to detect which axis the actual label belongs to.

mathieujobin wrote this answer on 2022-01-30

Thank you so much for this insight.. I'll look for a solution for this as well and post it to the relevant issue, I think #63 is where I got the hack for the axis.

mathieujobin wrote this answer on 2022-01-30

Thanks to you, my y-axis problem is now solved

mathieujobin wrote this answer on 2022-02-06

this issue can now be considered fixed. what is left is described in #67

More Details About Repo
Owner Name vizzuhq
Repo Name vizzu-lib
Full Name vizzuhq/vizzu-lib
Language JavaScript
Created Date 2021-06-07
Updated Date 2022-11-22
Star Count 1630
Watcher Count 19
Fork Count 65
Issue Count 17

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date