Closed Mcpoowl closed 6 years ago
I'll see when I have time to debug this issue. Seems strange because the datasets don't change. Thanks for testing, will do the same in 6.3.1
Could you test the latest version for me? I have updated the chartjs library, so it might resolve some inconsistencies. This next version of the widget (v3.5.0) will tackle some issues (also regarding animation and responsive heights etc)
Hi Jelte. I went back a bunch of revisions to test it in a similar environment as the original issue and the issue still remains.
As in, this issue has always been there? I haven't noticed that. We'll further investigate what is going wrong. Or we'll ask to provide a test-project, sent to community [at] mendix.com, as I have not yet been able to reproduce this issue
When a Chart ( we tested a BarChart, but I'd imagine it goes the same for all charts ) is surrounded by a groupbox, the chart has incorrect data. In the example below you see the following:
//edit: It seems it has something to do with the fact that there are multiple barcharts on the page.... Will keep investigating and updating //edit2: It doesn't matter how many charts we have on the page. Even with one chart, in a groupbox it doesn't work. When moving the chart out of the groupbox, it works fine.
//edit3: Although it's still a bug in my opinion, upgrading to 6.3.1. seems to have solved the issue.... Weird
//edit4: Although it doesn't occur as often as it used to in 6.3.1. it DOES happen.. A lot more random though.. //edit 5: After some testing, retrying, retrying and retrying. we came to the following conclusion in the case of multiple bar charts on the same page
Groupbox: The chart is rendered incorrectly about 1 out of 5 times Without groupbox: The chart renders correctly every time