jettro / c3-angular-directive

Contains angularjs directives that use c3js to create good looking graphs
http://jettro.github.io/c3-angular-directive/
MIT License
203 stars 98 forks source link

How to dynamically change axis labels? #138

Open dimitriosd1983 opened 7 years ago

dimitriosd1983 commented 7 years ago

I have the code below: `

                <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?

mikewrosey commented 7 years ago

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