BarChart responsive

UI Components for Angular
Post Reply
CC84
Posts: 69
Joined: 11 Mar 2016, 09:32

21 Mar 2016, 16:46

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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

21 Mar 2016, 22:21

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.

CC84
Posts: 69
Joined: 11 Mar 2016, 09:32

21 Mar 2016, 22:47

Thx... i should start to read the issues :)

Btw. do you prefer bugreports/featurerequest @github?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Mar 2016, 00:34

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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Mar 2016, 14:48

Issue about responsive charts has been fixed in 0.9.1, there is a demo here;

http://www.primefaces.org/rio-primeng/

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests