Skip to content

Commit b85a85a

Browse files
committed
Docs
1 parent 28889b7 commit b85a85a

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.browserslistrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
> 0.5%
2-
last 2 versions
3-
Firefox ESR
4-
not dead
1+
defaults
2+
not IE 11
3+
not IE_Mob 11
4+
maintained node versions

docs/docs/developers/index.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ Latest builds are available for testing at:
2222

2323
## Browser support
2424

25-
Chart.js offers support for the following browsers:
25+
All modern and up-to-date browsers are supported, including, but not limited to:
2626

27-
- Chrome 50+
28-
- Firefox 45+
29-
- Internet Explorer 11
30-
- Edge 14+
31-
- Safari 9+
27+
Chrome
28+
Edge
29+
Firefox
30+
Safari
31+
32+
As of version 3, we have dropped Internet Explorer 11 support.
3233

3334
Browser support for the canvas element is available in all modern & major mobile browsers. [CanIUse](https://caniuse.com/#feat=canvas)
3435

src/plugins/plugin.legend.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,7 @@ export class Legend extends Element {
345345
ctx.lineWidth = lineWidth;
346346
ctx.strokeStyle = valueOrDefault(legendItem.strokeStyle, defaultColor);
347347

348-
if (ctx.setLineDash) {
349-
// IE 9 and 10 do not support line dash
350-
ctx.setLineDash(valueOrDefault(legendItem.lineDash, []));
351-
}
348+
ctx.setLineDash(valueOrDefault(legendItem.lineDash, []));
352349

353350
if (labelOpts && labelOpts.usePointStyle) {
354351
// Recalculate x and y for drawPoint() because its expecting

0 commit comments

Comments
 (0)