Closed brandonros closed 6 years ago
ctrl.chart = { data: buildChartData(), columns: [ { id: 'foo', type: 'bar', name: 'foo', width: '200' } ], xAxis: { id: 'cycleDate' } };
<c3chart ng-if="ctrl.chart" bindto-id="foo" chart-data="ctrl.chart.data" chart-columns="ctrl.chart.columns" chart-x="ctrl.chart.xAxis"> <chart-axis> <chart-axis-x axis-position="outer-center" axis-label="foo"> </chart-axis> </c3chart>
Does a whole lotta nada.
Correct was not intended to work this way, you can use the chart-bar directive.
Does a whole lotta nada.