Chart.js: Feature Request: Turn solid line to dotted without drawing a second line.

Created on 22 Nov 2016  路  5Comments  路  Source: chartjs/Chart.js

I would like to be able to turn a solid line into a dashed line at an arbitrary point, similar to this example here.

This would be handy when a dataset is not complete and you'd like to signify that with a dotted line.

help wanted enhancement

Most helpful comment

Is this anywhere on the roadmap?

All 5 comments

@BD-Kraemer I don't know if that's possible. You might be able to do something using a canvas gradient but creating it would be difficult

Is this anywhere on the roadmap?

Up ! ;-)

I think this is kind of in progress right now based on discussion here: https://github.com/chartjs/Chart.js/issues/5956

Closing in favour of #7523 which has more details

Was this page helpful?
0 / 5 - 0 ratings