Chart.js/test
Akihiko Kusanagi 493eaa8424 Refactor helpers.canvas.drawPoint() (#5623)
Bring ctx.beginPath() before switch and replace ctx.fillRect()/ctx.strokeRect() with ctx.rect()/ctx.fill() to make it consistent with the other styles. It is also preferable that helpers.canvas.roundedRect() include ctx.closePath() at the end because CanvasRenderingContext2D.rect() closes the subpath.

Get rid of ctx.closePath() for cross, crossRot, star, line and dash because these have no closed path shape, and it should be avoided that ctx.closePath() makes a round-trip path.
2018-07-29 11:31:28 +02:00
..
fixtures Added 'angle' option to Polar Charts (#5279) 2018-06-17 11:56:57 -04:00
specs Refactor helpers.canvas.drawPoint() (#5623) 2018-07-29 11:31:28 +02:00
.eslintrc.yml Use the Chart.js shared ESLint config (#5112) 2018-01-06 17:59:13 -05:00
jasmine.context.js Enhance the rounded rectangle implementation (#5597) 2018-06-26 17:58:32 +02:00
jasmine.index.js Introduce scriptable options (bubble chart) (#4671) 2017-08-24 09:34:38 +02:00
jasmine.matchers.js Add support for detached canvas element (#4591) 2017-08-01 14:28:45 +02:00
jasmine.utils.js Implement equally sized bars (#4994) 2017-12-02 12:38:36 +01:00