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

Client side databinding to radar chart

1 Answer 17 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 28 Nov 2018, 12:36 PM

I need to use client side data binding on a line or area based radar chart that has any number of points but may have 1 or more series. For example there may be 8 products shown as total sales for a year for a sales person. So the series is 'Sales year' and the points are the '8 Products'. Although I may be required to show the same data but on a per quarter basis. So each series would be 'Sales Year Q1', etc. and the points would still be the '8 Products'.

When going through the demos for client side data binding; there are no examples for this with Radar graphs. The example show a pie chart being populated this way but a series is already defined in the example. I need this to be dynamic as I may need more than one series. Although I tried with a single series I could set the DataFieldY but for the point name which I was looking for something like 'NameField' this does not exist under the radar line series.

I really need some help with this.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Nov 2018, 05:26 PM
Hi Matthew,

The most important thing about binding a RadHtmlChart on the client is that you need to set the field names on the server so they get serialized to the client and the chart in the browser knows which fields to use. This means that the chart configuration is static and only the data changes.

In your case you seem to need to re-create the series with different settings and so I recommend that you go directly with a the Chart from the Kendo UI for jQuery suite. RadHtmlChart is its WebForms wrapper anyway, and the jQuery widget is easy to destroy() and re-create as needed.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart (HTML5)
Asked by
Matthew
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or