widget chart size problem

my chart widget has
id
id
of chart at the bottom side, but there is space i want to just be chart and bottom of this chart center be ids there is just free spaces which i dont want there is my code:
7 Replies
gigiloouu
gigiloouuOP3mo ago
?? anyone?
LeandroFerreira
LeandroFerreira3mo ago
I think it’s because you have 3 bars for each series, and the labels are exactly in the middle (in blue).
gigiloouu
gigiloouuOP3mo ago
yes i think becouse of i have many status but how i can fix it ? im trying to fix it about 2 days 😄
LeandroFerreira
LeandroFerreira3mo ago
there is no issue for me. You have 3 labels, 3 values and 3 colors
gigiloouu
gigiloouuOP3mo ago
hmm look i have purchases table where i have items which have different status i want show this items by status just if id 0 status code==1 show it pink and and esc.. u got it ?
LeandroFerreira
LeandroFerreira3mo ago
you got my point?
gigiloouu
gigiloouuOP3mo ago
maybe just i have no idea how to fix it :d i know i should give 3 values but idk.... now im trying to use
protected function getFilters(): ?array
{
return [
null => 'Show All',
0 => 'In Progress',
1 => 'Order',
2 => 'Completed',
3 => 'Cancelled',
];
}
protected function getFilters(): ?array
{
return [
null => 'Show All',
0 => 'In Progress',
1 => 'Order',
2 => 'Completed',
3 => 'Cancelled',
];
}
this function and how i can save next it in my status variable? ??
Want results from more Discord servers?
Add your server