Open berge-business opened 5 years ago
I am trying to load Flot Charts into a UI-Carousel block and I am unable to inject the chart options into the block. It seems like the data has to be apart of the 'slides' scope variable.
Here is the code:
`<ui-carousel slides="testData" slides-to-show="6" slides-to-scroll="1" initial-slide="1" autoplay="true" autoplay-speed="4000" dots="true">
<carousel-item> <div class="flot-pie-chart" > <div flot class="flot-chart-pie-content" dataset="item" options="pieChartOptions"></div> </div> <div class="text-center"> <h4>{{item[1].label}}</h4> </div> </carousel-item> </ui-carousel>`
The 'options="pieChartOptions"' is not actually pulling in the scope variable.
I am trying to load Flot Charts into a UI-Carousel block and I am unable to inject the chart options into the block. It seems like the data has to be apart of the 'slides' scope variable.
Here is the code:
`<ui-carousel slides="testData" slides-to-show="6" slides-to-scroll="1" initial-slide="1" autoplay="true" autoplay-speed="4000" dots="true">
The 'options="pieChartOptions"' is not actually pulling in the scope variable.