Width auto scaling not works for div / any component inside a carousel.
Hello,
I am trying to show a highcharts inside a carousel. First chart looks fine. But when i move the slide to 2nd one. The width of the chart is squeezed.
<carousel>
<slide ng-repeat="slide in slides">
<div ng-if="slide.type == 'chart'" >
<highchart id="chart{{$index}}" config="slide.chartConfig"></highchart>
</div>
</slide>
</carousel>
JS:
var slides = $scope.slides = []; slides.push({text: 'Slide 1', type: "chart", chartConfig : { options: {chart: {type: 'bar'}}, series: [{data: [10, 15, 12, 8, 7]}], title: {text: 'Hello 1'}, loading: false }}); slides.push({text: 'Slide 2', type: "text"}); slides.push({text: 'Slide 3', type: "chart", chartConfig : { options: {chart: {type: 'bar'}}, series: [{data: [10, 35, 52, 8, 7]}], title: {text: 'Hello 2'}, loading: false }});
Am i missing some thing here?
Kind Regards Kay
Sorry, but this seems to be a question related to CSS and multiple libraries cooperation. We are not going to investigate this, unless you can demonstrate an issue with the carousel component in a minimal reproduce scenario (without 3rd party components) in a live plunker.