[Chartjs]-Chart.js 2.0.0-beta2 disable points on line Charts

10👍

Maybe a bit late but still.
I had this same issue & searched the Source code for this (Because It used to be: pointDot: false which isn’t working anymore)

There are 2 ways of doing this now:

  1. Use the options (This is in the documentation nnick.github Chartjs & Search for point.radius)

    options: {
    elements: { point: { radius: 1, hitRadius: 1, hoverRadius: 4 } }
    }

  2. Use the property from the line dataset itself

        data: {                
            datasets: [{
                radius: 0,
    

Small remark: when using radius: 0 it’s hard to find the point when mouseover

Leave a comment