Skip to content

Commit

Permalink
Debug data array
Browse files Browse the repository at this point in the history
  • Loading branch information
mtcnxd committed Nov 20, 2024
1 parent f3c3df5 commit 55e840f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion details.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
</td>';
echo "</tr>";
}

var_dump($data);

?>
</table>
</div>
Expand Down Expand Up @@ -147,7 +150,7 @@
const myChart = new Chart(currentChart, {
type: 'line',
data: {
labels: <?=json_encode( array_keys($data) );?>,
labels: <?=json_encode( $labels );?>,
datasets: [{
label: 'Wallet Balance',
data: <?=json_encode( $values );?>,
Expand Down

0 comments on commit 55e840f

Please sign in to comment.