Chart.js bubble chart with label on bubble

UI Components for JSF
Post Reply
Dsleeper
Posts: 118
Joined: 29 Jul 2010, 13:33
Location: Bergen, Norway
Contact:

09 May 2019, 09:28

Hi,

Is it possible to extend the current Chart.js bubble chart implementation to support this plugin:
https://chartjs-plugin-datalabels.netli ... ubble.html

I need to create a bubble/scatter chart where labels are shown on the bubbles themselves. Is there any way to do this via Primefaces?

As a fallback solution I am considering using the old Chart bubble component that supports this directly: https://www.primefaces.org/showcase/ui/ ... bble.xhtml
However I am unsure of how long the old Charts will be supported? Will the support be removed in the next major PF version?
Primefaces, Mojarra, Tomcat

http://www.dsleeper.net
https://www.mylog.no

User avatar
Melloware
Posts: 1231
Joined: 22 Apr 2013, 15:48

09 May 2019, 12:59

Sine ChartJS component offers the extender there is almost nothing you can't do with ChartsJS.

Another user asked a similar question about a custom plugin for DataLabels and here is the solution I offered: https://stackoverflow.com/questions/557 ... primefaces
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.6 / PF Extensions 7.0.2

Dsleeper
Posts: 118
Joined: 29 Jul 2010, 13:33
Location: Bergen, Norway
Contact:

09 May 2019, 13:05

Thank you so much!
Primefaces, Mojarra, Tomcat

http://www.dsleeper.net
https://www.mylog.no

User avatar
Melloware
Posts: 1231
Joined: 22 Apr 2013, 15:48

09 May 2019, 13:09

No problem!
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.6 / PF Extensions 7.0.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests