Chart.js bubble chart with label on bubble

UI Components for JSF
Post Reply
Dsleeper
Posts: 119
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

Melloware
Posts: 3717
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 Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Dsleeper
Posts: 119
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

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

09 May 2019, 13:09

No problem!
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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: imrankhurram and 52 guests