fetch_assoc()) {
$time_labels[] = $row['time_period'];
$quantities[] = $row['total_quantity'];
$revenues[] = $row['total_revenue'];
}
renderProductSalesTrendChart($time_labels, $quantities, $revenues);
?>
fetch_assoc()) {
$categories[] = $row['category_name'];
$category_quantities[] = $row['total_quantity'];
$category_revenues[] = $row['total_revenue'];
}
renderProductCategorySalesChart($categories, $category_quantities, $category_revenues);
?>