question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chart title not updating

See original GitHub issue

Hi,

I want to change the title of a chart using dynamic data.

I’ve made an example of the coding I’m using to change the title and redraw the canvas but it’s not taking effect.

myChart.options.title.text = 'Dynamic new title!';
myChart.update();
myChart.render();

http://codepen.io/noeloconnell/pen/aZzjQO

Any ideas if it’s possible or just a bug? Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
NoelOConnellcommented, Jun 2, 2016

Okay, I’ve updated the example above to use a local variable. I’ll try pr it in the next day or so.

1reaction
NoelOConnellcommented, Jun 1, 2016

Thank you for the response. I’ll try and take a look at the src and see if I can make a PR to add the option in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chart Title link not refreshing - Excel Help Forum
I have a chart title that is linked to a cell. When I enter the formula in the chart title it updates with...
Read more >
How to Create Dynamic Chart Titles in Excel
Since the chart title is static, you would have to change it again and again whenever your data is refreshed/updated. Here is how...
Read more >
Chart Titles on Dashboards not Updating - Microsoft Power BI ...
Solved: Titles on existing charts on dashboard are not updated to match updated design. This is after Publishing. Also, the titles are ...
Read more >
Charts not updating when data is updated
Hello,. I have built an Excel dashboard template that has 46 charts referencing cells in a table on the same worksheet.
Read more >
Can't update chart - Stack Overflow
Remember that you assigned the newly created chart to the variable barChart . Therefore, try to change your updateConfigByMutating from.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found