vue vue-chartjs chart.js set different point styles for each dataset

78 Views Asked by At

I have a multiline line chart, works nicely, I have a graph title, axis titles, different colors for each line, legend.

What I cannot get working is having a different point style, marker, for each data set. They all use a circle.

I have tried setting the pointStyle but it isn't working:

{
  label: "Total Jobs",
  backgroundColor: "#f82279",
  borderColor: "#f82200",
  pointStyle: "triangle",
  data: [
    93, 94, 105, 105, 92, 94, 101, 82, 16, 25, 23, 19, 10, 13, 14, 12, 11,
    11, 14, 13, 27, 16, 21,
  ],

What am I missing here please?

thanks

Ken

0

There are 0 best solutions below