swimlane / ngx-charts

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

Can't bind to 'trimXAxisTicks' since it isn't a known property of 'ngx-charts-bar-vertical' #1099

Open jeffersonmeyer opened 5 years ago

jeffersonmeyer commented 5 years ago

I'm submitting a ... (check one with "x")

Current behavior When rendering a ngx-charts-bar-vertical and trying to bind to [trimXAxisTicks] property I get the following error:

Can't bind to 'trimXAxisTicks' since it isn't a known property of 'ngx-charts-bar-vertical'

After a little bit of digging I found that the property are declared on the component in the source code, but not in the compiled component.

gtnsimon commented 5 years ago

Hello,

Which version do you use ? I had the same issue and regarding the latest release (here) the trim feature is available starting the v10.1.0.

I was using the v10.0.0 so I had to update my package.json to make it works !

npm update @swimlane/ngx-charts --save-dev