Hi all,
I think it is a bug, in the showcase, cartesian line chart is not rendered correctly, top point values are not visible (line is thinner on top as well)
is there any workaroud?
thanks
Charts.js cartesian linear chart bug
I don't understand what you mean. I am looking at the showcase right now and I can tell anything is wrong. Can you be more specific as to what you are claiming is a bug?
https://www.primefaces.org/showcase/ui/ ... line.xhtml
https://www.primefaces.org/showcase/ui/ ... line.xhtml
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
To me it looks the same as RAW ChartsJS examples.
https://www.chartjs.org/samples/latest/ ... basic.html
https://www.chartjs.org/samples/latest/ ... tyles.html
https://www.chartjs.org/samples/latest/ ... basic.html
https://www.chartjs.org/samples/latest/ ... tyles.html
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Posts: 64
- Joined: 19 Apr 2011, 11:43
as you can see in the screenshot above, the cartesian line chart is missing top points and has narrow lines at top
if you refresh the showcase, you'll see those two points raising from bottom and disappearing when maximum value is reached
at least that's what I get with
fedora 29
firefox 65
Hmm PF is using ChartJS 2.7.2 and looks like these related issues are coming from 2.8 version.
https://github.com/chartjs/Chart.js/issues/4202
https://github.com/chartjs/Chart.js/issues/5210
Look like that issue may be related to your issue?
https://github.com/chartjs/Chart.js/issues/4202
https://github.com/chartjs/Chart.js/issues/5210
Look like that issue may be related to your issue?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Posts: 64
- Joined: 19 Apr 2011, 11:43
yes, I think they are related to the same problem, so if there's no workaround we should wait for next chart.js release...
Yep I will upgrade the JS once they release 2.8.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Created this issue if you wanted to track it: https://github.com/primefaces/primefaces/issues/4506
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Submitted a PR to update to ChartJS 2.8.0 and I verified this bug has been fixed by ChartsJS. https://github.com/primefaces/primefaces/pull/4678
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 39 guests