简体   繁体   中英

D3 graph shows zero in y axis

Hello i was plotting D3 line graph with brush and zoom

i was able to do it but in y-axis of the graph the values shows zero even after data having some values

and one more problem is mouse-hover even is not firing properly on circles due to pointer-events: all; on .zoom class

adding fiddle here

再将余量设置为60,而不是20,您会很高兴的:)

margin = {top: 20, right: 20, bottom: 110, left: 60},

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM