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

PieChart with top x

2 Answers 48 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 30 May 2014, 01:08 PM
Hi, 

I'm looking at switching over to the HTML Charts now that they seem rich in features.  

First issue that I am facing is that I want to only show the top x records on the chart with any beyond x being shown collectively as others.

Beyond manipulating the data set to do that is there any way to do this with the out of the box charts?

Regards

Jon

2 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 03 Jun 2014, 07:02 AM
Hello Jon,

The RadHtmlChart doesn't have such a functionality for manipulating the data source internally. You must provide the exact numbers of data source rows to the chart, in order for the control to render them. You can find online examples of RadHtmlChart data binding here.

You may also find useful the following set of articles related to the migration from RadChart to RadHtmlChart:

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jon
Top achievements
Rank 1
answered on 04 Jun 2014, 08:13 AM
Hi Danail

No problem - I got this working using a datatable and simply totaled all rows beyond the limit, deleting them as I went.

I was migrating from DevExpress charts so not a simple migration.  I think I'll leave for now as there are still quite a few things missing that I'll need - my use of a product tends to push the bounds of what it can do so it means switching is that much more tricky :(

Regards

Jon
Tags
Chart (HTML5)
Asked by
Jon
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Jon
Top achievements
Rank 1
Share this question
or