react-d3-components icon indicating copy to clipboard operation
react-d3-components copied to clipboard

BarChar add event for show y number?

Open geekyzk opened this issue 8 years ago • 2 comments

This is my code <BarChart margins={{top: 10, bottom: 50, left: 120, right: 10}} stackOffset={"wigget"} fill={'#3182bd'} data={customData(th2CDetailList)} width={1400} height={600} title={th2CDetailList[0][0]} yAxisLabel="数值" xAxisLabel="日期"/>

I would like to add a mouse event to show the value, but do not know how to add, you can ask what?

geekyzk avatar Aug 31 '17 03:08 geekyzk

Have you tried adding a tooltip? https://github.com/codesuki/react-d3-components#tooltips

codesuki avatar Sep 27 '17 23:09 codesuki

can i have a custom event on mouse move, i would like to make an api request for example

AgentChris avatar Nov 15 '17 11:11 AgentChris