thank you finally this function is ok to change the data of column chart .
but when i try to change data of pie chart doen`t change, it is the same array to change the data?
array:2 [â–¼
0 => array:2 [â–¼
"title" => "ss"
"values" => array:12 [â–¼
0 => array:4 [â–¶]
1 => array:4 [â–¶]
2 => array:4 [â–¶]
3 => array:4 [â–¶]
4 => array:4 [â–¶]
5 => array:4 [â–¶]
6 => array:4 [â–¶]
7 => array:4 [â–¶]
8 => array:4 [â–¶]
9 => array:4 [â–¶]
10 => array:4 [â–¶]
11 => array:4 [â–¶]
]
]
1 => array:2 [â–¼
"title" => "ss"
"values" => array:1 [â–¼
0 => array:3 [â–¼
0 => 54
1 => 52
2 => 30
]
]
]
]
the pie chart is the number 2