1

trying to add title for c3 chart like this way.but it is not working . i want change the title in load time . now it is showing the title which i added in generate chart. how can i change the title on load time?

setTimeout(function () {
        _chartdata.load({
            columns: [
                [_footerheading, 5],
                ["others", 5]
            ],
            donut: {
                title: {
                    text: x+"%"
                  },
            }
        });
    }, 50);
mr. Done
  • 147
  • 1
  • 1
  • 12
  • Take a look at this answer: https://stackoverflow.com/questions/28667688/how-can-i-add-a-title-to-c3-js-chart . It contains fallback code that you could use for your task. – Dmitry Demidovsky Jan 20 '18 at 21:56

0 Answers0