This is a migrated thread and some comments may be shown as answers.

Chart create run time

1 Answer 110 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Luciano
Top achievements
Rank 1
Luciano asked on 05 Feb 2018, 05:00 PM
How to create and change the chart type in run time. Example: I have a pie chart and I want to switch to columns.
The data call I already have. I just want to set the correct properties so that the chart is displayed correctly.
I'm using Angular JS.

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 06 Feb 2018, 08:07 AM
Hello Luciano,

To achieve the desired behavior, use the setOptions method.
For example:
I hope this helps.


Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
Luciano
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or