PieChart with top x

3 posts, 0 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 30 May 2014 Link to this post

    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. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 03 Jun 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 04 Jun 2014 in reply to Danail Vasilev Link to this post

    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
Back to Top