swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

Predefined xAxisTicks and yAxisTicks are stacked on a single point #1364

Open rushnaulaziz opened 4 years ago

rushnaulaziz commented 4 years ago

Describe the bug

when i used the predefined xaxisticks or yaxisticks the list got stacked on a single point Ive attached the screenshot To Reproduce

  1. Go to '...' [https://stackblitz.com/edit/ngx-chart-bar-vertical-zlq7yx]

Expected behavior it should spread on over all axis like normal ticks

Screenshots

image

ngx-charts version @swimlane/ngx-charts" 9.0.0

Adrian1907 commented 3 years ago

I got the same and also the error in a console: Error: <g> attribute transform: Expected number, "translate(NaN,20)".

golkedj commented 3 years ago

Any traction on this? I am looking to "reverse" my y axis and this is going to force me to another library