Home forums Using CanvasJS Order by Value

This topic contains 1 reply, has 2 voices, and was last updated by  Naveen Venugopal 1 year, 1 month ago.

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


    hi i am getting value from php mysql. is there any option that i can sort the values like 1st value can heigher value. and so on

    echo ” { x: new Date(“.$DDateArr[‘0’].”,”.$DDateArr[‘1’].”,01), y: “.$qq.”},”. PHP_EOL;

    abc = 150
    xyz = 160

    can i order this in this graph ???????
    xyz = 160
    abcd = 150




    Sort feature is not available out of the box. But with just a few lines of code you can do the same.

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

You must be logged in to reply to this topic.