Chartjs-Use Ternary Option with Chart.js and AngularJs

0👍

You have a missing bracket.

chart-labels="profile['detail']['freq-graph']['long-labels'].length < 20 ? profile['detail']['freq-graph']['short-labels'] : profile['detail']['freq-graph']['long-labels']"
//                                                                                                                      ^^^

Leave a comment