Is there an example how to use the BarChart as a responsive control?
I set responsive to true, but it did not react in any way. Without a width set, it was very small, with a width set, it never changed its width.
BarChart responsive
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Getting ignored was a result of this;
https://github.com/primefaces/primeng/issues/131
It is fixed now for tomorrow's 0.8.2 release but when I set it true, charts.js somehow calculates width and height as zero. That needs further investigation.
https://github.com/primefaces/primeng/issues/131
It is fixed now for tomorrow's 0.8.2 release but when I set it true, charts.js somehow calculates width and height as zero. That needs further investigation.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I've created that issue after seeing your post, at Prime Land we prefer starting the discussion at forum and taking it to github when necessary.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Issue about responsive charts has been fixed in 0.9.1, there is a demo here;
http://www.primefaces.org/rio-primeng/
http://www.primefaces.org/rio-primeng/
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests