react-bubble-chart icon indicating copy to clipboard operation
react-bubble-chart copied to clipboard

Display Icon/Image inside bubble.

Open yashkumarsharma opened this issue 8 years ago • 5 comments

Can we extend the functionality by providing an option to display icon/image inside the bubble?

yashkumarsharma avatar Sep 09 '16 09:09 yashkumarsharma

absolutely! i unfortunately am stretched a bit thin right now but will leave this issue open as a reminder for future-me!

also, if you'd like to get started on it in the meantime i can absolutely help!

kauffecup avatar Sep 23 '16 19:09 kauffecup

@kauffecup can you please help with adding svg / images on each node?

vitaly87 avatar Sep 21 '20 07:09 vitaly87

@vitaly87 - Can you check if this is helpful - https://github.com/yashkumarsharma/react-bubble-chart/tree/0.3.0 npm - https://www.npmjs.com/package/react-bubble-chart-wi

If Yes and it is working fine for you, I will raise a PR in the original repository for @kauffecup.

yashkumarsharma avatar Sep 21 '20 07:09 yashkumarsharma

@yashkumarsharma I didnt get you , what need to be done in order to set icons for each bauble

vitaly87 avatar Sep 21 '20 09:09 vitaly87

Steps: (I have not tested it at my end) a) npm install --save react-bubble-chart-wi b) The place where you are providing text for bubble, will now accept html as well.

For a better understanding review

  • https://github.com/kauffecup/react-bubble-chart/compare/master...yashkumarsharma:0.3.0 File -src/ReactBubbleChartD3.js

Regards, Yash

yashkumarsharma avatar Sep 21 '20 09:09 yashkumarsharma