use a single ChartOptions object in angular template to configure a kendo-chart component

1 Answer 90 Views
Charts
Alex
Top achievements
Rank 1
Iron
Iron
Alex asked on 11 Apr 2023, 05:15 PM | edited on 11 Apr 2023, 05:16 PM

Hello,

is it possible to have all the chart configuration in a object that implements ChartOptions and then pass it to the chart component in the template?

Something like this:

const myConfig: ChartOptions = {
  series: mySeries,
  title: myTitle,
  ...
}

and then in the template:

<kendo-chart [chartOptions]="myConfig"></kendo-chart>

Thank you.

Kind regards.

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 13 Apr 2023, 08:30 AM

Hi Alex,

So far such type of configuring the Chart isn't supported. You can check the different types of supported configurations here:

https://www.telerik.com/kendo-angular-ui/components/charts/configuration/

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Charts
Asked by
Alex
Top achievements
Rank 1
Iron
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or