Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BarChar add event for show y number? #139

Open
geekyzk opened this issue Aug 31, 2017 · 2 comments
Open

BarChar add event for show y number? #139

geekyzk opened this issue Aug 31, 2017 · 2 comments

Comments

@geekyzk
Copy link

geekyzk commented Aug 31, 2017

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?

@codesuki
Copy link
Owner

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

@AgentChris
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants