c3-angular-directive icon indicating copy to clipboard operation
c3-angular-directive copied to clipboard

How to dynamically change axis labels?

Open dimitriosd1983 opened this issue 8 years ago • 1 comments

I have the code below: <c3chart bindto-id="chartGroupDataPoints" chart-data="datapoints" chart-columns="datacolumns" chart-x="datax" callback-function="handleChartCallback"> <chart-size chart-height="240"/> <chart-bar ratio="0.3" width="70"/> <chart-axes values-x="x"/> <chart-axis> <chart-axis-x axis-position="outer-center" axis-type="category"/> <chart-axis-y axis-position="outer-middle" axis-label="{{ mailingListsStatus }}" axis-type="category"> <chart-axis-y-tick tick-format="d"/> </chart-axis-y> </chart-axis> </c3chart>

When $scope.mailingListsStatus changes in my controller the y axis label does not change. Could you please advise how to do that?

dimitriosd1983 avatar Sep 23 '16 11:09 dimitriosd1983

Did you ever figure out how to update the y axis label?

mikewrosey avatar Apr 12 '17 15:04 mikewrosey