jQuery UI Widgets Forums Chart pie chart data is counter-clockwise

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • pie chart data is counter-clockwise #13454

    rdaley
    Participant

    the data on the pie chart is counter-clockwise. how do i make it clockwise?(left to right)

    pie chart data is counter-clockwise #13479

    Dimitar
    Participant

    Hello rdaley,

    To change the position of the slices in the pie chart, you have to change the order of the items in your data source. Here is an example with the data source of the Pie Series demo:

    By default it is:

    Internet Explorer, 33.3
    Firefox, 26.5
    Chrome, 25.4
    Safari, 7.0
    Opera, 4.6
    Other, 3.2

    but if you reorder it to:

    Internet Explorer, 33.3
    Other, 3.2
    Opera, 4.6
    Safari, 7.0
    Chrome, 25.4
    Firefox, 26.5

    the pie chart will have its slices going clockwise from greater to smaller values.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.