How do you change the chart type at runtime ?
See original GitHub issueI want to be able to do something like in this demo
But I want to do it without recreating the chart object every time. So far I have tried doing : (Assuming initially the chart was a bar graph)
chart.type = 'donut'
chart.draw(true)
Does not seem to work. Is there any API to do this? Also, many api’s that are talked about in the Issues section are not available in the docs.
One more thing. Is there any way to change the font-size of the labels and the title in the chart?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
Change Chart Type at Runtime - FusionCharts
This article focuses on how you can change the chart type of the chart at runtime using FusionCharts PHP wrapper. The chart types...
Read more >VB.NET CHARTTYPE RUNTIME CHANGE - MSDN - Microsoft
To change the chart dynamically you simply draw it again with the new settings. Option Strict On Imports System.Windows.
Read more >Change Chart Type at runtime which is bind with ...
I am developing window application , in which i am using pivot grid and chartControl(DevExpress.XtraCharts.ChartControl) for Reporting and ...
Read more >How to set asp net chart control ChartType property dynamically
Text version of the videohttp://csharp-video-tutorials.blogspot.com/2014/10/how-to- set -aspnet- chart -control.htmlHealthy diet is very ...
Read more >change chart type at runtime - Oracle Communities
Hello, You can't change the chart type but you can have two charts on the same page and show or hide the regions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll add this to v2 roadmap!
I haven’t tried it on IE. A good guess would say it works fairly well on IE 9 and above. However, animations are done through SMIL which is not supported by IE
Yes, hoping to make things more extensible, especially overriding defaults. Allowing customizations is a slippery slope, however it’s understandable the most folks don’t want to conform to the default opinions.
The new defaults are expected to be more modern, most folks will love the defaults.
For instance this is how percentage chart may look like
This is a mock image
@scmmishra Sure.