https://www.primefaces.org/showcase/ui/chart/bar.xhtml
If you click on the legend for HORIZONTAL bar chart; it toggles the "other" legend in the key.
It does the same in my project.
Horizonal Bar Chart Legend Problem
-
- Posts: 214
- Joined: 29 Nov 2011, 00:40
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:
Dont forget the classifier:
Code: Select all
...primefaces
<classifier>jakarta</classifier>
... theme
<classifier>jakarta</classifier>
You should probably switch to use the new ChartsJS and not the old Charts.
https://www.primefaces.org/showcase/ui/ ... /bar.xhtml
However that being said there is no Horizontal option yet even though CHartsJS supports it: https://www.chartjs.org/docs/latest/charts/bar.html
I submitted this ticket and will submit a a PR: https://github.com/primefaces/primefaces/issues/4800
https://www.primefaces.org/showcase/ui/ ... /bar.xhtml
However that being said there is no Horizontal option yet even though CHartsJS supports it: https://www.chartjs.org/docs/latest/charts/bar.html
I submitted this ticket and will submit a a PR: https://github.com/primefaces/primefaces/issues/4800
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
Actually check it out Horizontal ChartsJS already exists in PF: https://www.primefaces.org/showcase/ui/ ... hbar.xhtml
That should fix you up.
That should fix you up.
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: 214
- Joined: 29 Nov 2011, 00:40
Thx for your prompt response.
I didnt know that ChartJS was the preferred option (and saw nothing in the demo screens suggesting I use the "other" charts).
I will use JS from now on; buit with limited time to get this piece of work done and a number of issues and enhancements to work though I have to leave it "as is" for now.
IT is so great to have Primefaces; it makes me so productive!!!
I didnt know that ChartJS was the preferred option (and saw nothing in the demo screens suggesting I use the "other" charts).
I will use JS from now on; buit with limited time to get this piece of work done and a number of issues and enhancements to work though I have to leave it "as is" for now.
IT is so great to have Primefaces; it makes me so productive!!!
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:
Dont forget the classifier:
Code: Select all
...primefaces
<classifier>jakarta</classifier>
... theme
<classifier>jakarta</classifier>
No problem. yeah those old JQPlot based charts are buggy and JqPlot seems to be abandoned where ChartsJS is a very active open source project and also looks really nice!
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: 214
- Joined: 29 Nov 2011, 00:40
General Error
SQL ERROR [ mysqli ]
Incorrect string value: '\xE2\x80\x9Cnot...' for column 'post_text' at row 1 [1366]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Please notify the board administrator or webmaster: noreply@primetek.com.tr
Powered by phpBB® Forum Software © phpBB Limited
SQL ERROR [ mysqli ]
Incorrect string value: '\xE2\x80\x9Cnot...' for column 'post_text' at row 1 [1366]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Please notify the board administrator or webmaster: noreply@primetek.com.tr
Powered by phpBB® Forum Software © phpBB Limited
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:
Dont forget the classifier:
Code: Select all
...primefaces
<classifier>jakarta</classifier>
... theme
<classifier>jakarta</classifier>
-
- Posts: 214
- Joined: 29 Nov 2011, 00:40
What i was trying to say was shame there was no - use the other charts- note...
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:
Dont forget the classifier:
Code: Select all
...primefaces
<classifier>jakarta</classifier>
... theme
<classifier>jakarta</classifier>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 29 guests