ghalex / vue3-charts

Vue3-Charts is an SVG-based charting library that is very easy to use and highly customizable
https://vue3charts.org
MIT License
135 stars 23 forks source link

Is it normal that datapoints past domain boundary are rendered outside of the graph area? #5

Closed baybal closed 2 years ago

baybal commented 3 years ago

image

ghalex commented 3 years ago

I have recreated your example here: https://codesandbox.io/s/vue3-charts-example-14mmp

I think it has something to do with the domain of the primary axes. I use a band scale for dates and then provide tickValues prop to show a nicer axis, but your example should work too.

I will take a look at why the domain is not correctly calculated and get back with an answer.