Chart.js - is it possible to have data populated as a variable instead of as an array?

前端 未结 0 591
[愿得一人]
[愿得一人] 2021-02-02 08:43

I have the following:

    var myBarChart = new Chart(ctx, {
        type    : \'horizontalBar\',
        data    : {
            labels  :  opts.y_axis.line.label         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题