GrantMStevens / amCharts-Angular

Angular directive for amCharts library
Apache License 2.0
63 stars 39 forks source link

charts are not responsive #11

Closed nickeliah1 closed 9 years ago

nickeliah1 commented 9 years ago

I have set the chart option responsive: { enabled: true },

and included the plugin, as required here: http://www.amcharts.com/tutorials/making-charts-responsive/

looks like the directive is setting the width and height to a fixed number.. maybe it needs an option for responsive?

nickeliah1 commented 9 years ago

oops.. set width to 100% and fixed

GrantMStevens commented 9 years ago

Yeah, I'm thinking about removing that default, as it doesnt seem to be doing much good any more.

nickeliah1 commented 9 years ago

Yeah the fixed size is probably not necessary :)