Open alexandermikuta opened 7 years ago
Same issue
Same here
This is caused by the margins around the chart, which can not be overridden at the moment. We will look at exposing that property as an input.
Any progress? I need this!
Any updates? I need the same, thank you.
Just letting a comment as friendly remainder to provide a PR with @marjan-georgiev proposal.
Stay sharp for it!
I'm submitting a ... (check one with "x")
Current behavior
When I put an AreaChart into a container it seems like the Chart does not fill the container correctly (with and without use of view-attribute), but has less width and height than the container. This seems to be caused by a wrongly calculated width/height-attribute in .ngx-charts def clipPath rect-Element
See example: https://plnkr.co/edit/uiin5FU84ho9LGtvgFAO?p=preview
Expected behavior
Diagram fits container
Please tell us about your environment:
Ubuntu 17.04
ngx-charts version: 5.3.1
Angular version: 4.1.3
Browser: Tested with Firefox 53.0.2 & Chrome 58.0.3029.110 (64-bit)
Language: Target ES5