Accepted answer

this is because you put pointstyle: 'dash' in your dataset attributes.

see chart.js doc about linechart data structure (pointstyle is at the last row of the table) :

the style of point. options are 'circle', 'triangle', 'rect', 'rectrot', 'cross', 'crossrot', 'star', 'line', and 'dash'. if the option is an image, that image is drawn on the canvas using drawimage.

you have to choose between the different options.

note that there is no none option.

if you want to remove the point style, you can :

  • set the pointradius attribute of your dataset to 0 (like in this fiddle).
  • import an image as stated in the second part of the blockquote, which is empty (like this one).

Related Query