Bootstrap Chart Builder | Pie charts | Line graphs – Anak
const dataBar = {
type: "bar",
data: {
labels: ["Monday", "Tuesday", "Wednesday", "Thursday"],
datasets: [
{
label: "Traffic",
data: [3234, 2234, 3234, 1234],
backgroundColor: [
"rgba(66, 133, 244, 0.6)",
"rgba(66, 133, 244, 0.6)",
"rgba(66, 133, 244, 0.6)",
"rgba(66, 133, 244, 0.6)",
],
},
],
},
};
new mdb.Chart(document.getElementById("chart-bar"), dataBar);
<canvas id="chart-bar"></canvas>
Related Post
- January 17, 2026
- by anak
- 0
- 8:32 am
Unusual design
Learn how to create animated blur shades that blend and change colors Berita Terkini Berita…- June 21, 2023
- by anak
- 0
- 4:17 pm