Hi Joyce. My apologies for not getting back to you sooner. So, the above solution was a alternative solution to something that I have since explored ChartJS Annotation plugin to solve (see my post here for more on that). I don’t have the work to go back to and reference to answer your questions, but I can try to answer from memory.
-
I had not tried testing the 2 datasets in ChartJS directly; it wasn’t until after that I really started building my charts in VS Code first and then importing them in
-
This is where my memory will mostly fail me.
Labels
was likely an empty array given I didn’t want axis labels or a legend to appear. Figure 2 above shows what was inDatasets
and as forOptions
thats the one that is probably lost.
We probably don’t need to resolve this one, given I found a workaround with the Annotations plugin, but I wanted to close the loop and provide some insight for future community members.