Cakephp 3 chart

in the Controller, how do i write in order to generate the series? is there any link or reference where i can learn how to write it out?

what i can think of now is

 $series = $this->Orders->find();  

and that’s all…

i tried to read this link https://discourse.cakephp.org/t/cakephp3-any-suggestions-for-creating-line-graphs/710 but its too deep for me to understand… :sweat_smile: :sweat_smile: :sweat_smile: