Replies: 1 comment 1 reply
-
@sortel64 you need to nest the data a bit further in the config var myChart = new Chart(ctx, {
type: "line",
data: {
datasets: [
{
label: "System.CPU",
data: [
{ x: 1, y: 5 },
{ x: 2, y: 10 },
],
},
],
}
options: {}
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm just getting started with Chart.js. I have a super example that I pieced together from examples that produces a chart with axis' and grid lines, but no chart data:
Beta Was this translation helpful? Give feedback.
All reactions