Hi,
I've switched to v.2.0 and suprisingly there is no option to remove bullets from line charts.
Is this desired situation? Or this one is just skipped in documentation and works different way?
Honestly I would like expansion of functionality not cuts ;-)
Best regards
@KonradDeskiewicz to remove points, simply remove them from the data you passed into the chart. Then you can call update() and the chart will update.
I wasn't precise enough.. how to turn off dots on chart.
There was
pointDot: false,
in V.1 but it doesn't work anymore.
oh, sorry.
The easiest way is to set the radius of the points to 0. Using the latest from the v2.0-dev branch the points will not draw.
In your config:
{
elements: {
point: {
radius: 0
}
}
}
You can set the radius per dataset as well
data = {
datasets: [{
radius: 0, // radius is 0 for only this dataset
}]
}
:) Many thanks :)
helped a lot.
Most helpful comment
oh, sorry.
The easiest way is to set the radius of the points to 0. Using the latest from the v2.0-dev branch the points will not draw.
In your config:
You can set the radius per dataset as well