jQWidgets Forums

jQuery UI Widgets Forums Chart controlling the number of pie "slices"

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Yavor Dashev 4 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • nklapper
    Participant

    I have a some pie charts, with the data coming from PHP/MySQL via the Dataadapter. All works well, but there are too many “slices”. I would like to be able to control the maximum number of slices displayed, with all the remaining “too small” slices aggregated into a single “Other” slice. I suppose this could be done in either (a) MySQL, (b) PHP or (c) Javascript – but I wanted to ask for advice first, to see if this issue had already been addressed, and if not, ask for recommendations of how to achieve it.


    Yavor Dashev
    Participant

    Hi nklapper,

    The functionality you want to achieve is doable and I can recommend you to use the beforeLoadComplete callback function of the dataAdapter.
    You can find out more about it here :
    ://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxdataadapter/jquery-data-adapter.htm?search=data

    However if you find any difficulties achieving the functionality you want don’t hesitate to contact us.

    Best Regards,
    Yavor Dashev
    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.