n3-charts / line-chart

Awesome charts for AngularJS.
http://n3-charts.github.io/line-chart/
MIT License
1.2k stars 180 forks source link

Axes disappear when zoom browser #290

Open yarick333 opened 9 years ago

yarick333 commented 9 years ago

Axis lines disappear when reducing scale of the browser. Error is reproduced in Google Chrome. 2015-08-03 17 58 32

chaosmail commented 9 years ago

Thanks for reporting this, unfortunately I don't know how to solve this :( any ideas? As a workaround you could use CSS to make the axis a little bit stronger.

nishadotcom commented 9 years ago

Any chance to have zoom option as vertical bar. As below image 123

lorem--ipsum commented 9 years ago

Hmmmm probably not.

chaosmail commented 9 years ago

Actually this would be very easy to implement if you are brave enough @nishadotcom You can hack this slider already today by changing the min, max options of the axis, or - the more cleaner solution - you can adapt n3-line-charts to expose an extent attribute that binds with the d3.zoom function. Let me know if you need some hints or guidance on this. Best, Christoph

nishadotcom commented 9 years ago

Yes sure. I am ready to work on the task with your guidence

lorem--ipsum commented 8 years ago

Any update on this guys ?