Chart.js bubble chart with label on bubble

UI Components for JSF
Post Reply
Dsleeper
Posts: 115
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
http://www.mylog.no

User avatar
Melloware
Posts: 1102
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 6.2.19 / PF Extensions 6.2.10

Dsleeper
Posts: 115
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
http://www.mylog.no

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

09 May 2019, 13:09

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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests