I am testing the samples of version 3 of master and going to the vertical bar sample, I have got the following error, by IE11:
SCRIPT438: Object doesn't support property or method 'values'
chart.min.js (13,60262)
Maybe I'm wrong but it seems IE11 is not supported anymore.
It should still be supported, because the support has not been dropped.
Object.values is used here: https://github.com/chartjs/Chart.js/blob/7718d5fd56e14ac26af14f8c74aaeb5cbfcd32ee/src/core/core.controller.js#L1076
It comes from #7843
Legacy browser support gets dropped in V3 right with this pr #8009 ?
Also IE support from ms will end in less then a year so I think this is the perfect time to drop support for legacy browsers so you can use new features like optional chaining in the future if it comes out of draft
If we can drop IE11 support now, I am onboard.
If we can drop IE11 support now, I am onboard.
I could agree but you must be aware that in the enterprise world IE11 is still hugely used, therefore, for me, to drop IE11 is not a good decision
https://www.google.com/amp/s/cisomag.eccouncil.org/no-security-updates-to-ie-browser/amp/
Yes @kurkle, I'm aware. I'm not sure that all companies will jump on Edge but nevertheless they can use FF or Chrome :).
Let me highlight that I'm not against to drop IE11 but I know companies which are still using IE11. Dropping IE11 I could also think to remove polyfilling...
@stockiNail interesting point but if they want to keep using IE11 they can still use charts 2.9.4.
With a major upgrade like this it's the best time in my eyes to drop support for outdated browsers so that you can use new js features in your code whenn they come out.
Otherwise you will need to wait till version 4 because I think it'd weird to say it's only supported till v3.4 for example
Guys, you have convinced me! it's right time to do it, I agree!
Let's drop it!
Just mentioning in the migration guide.
Updated #8009 to mention the removal of IE11 support (and also remove the really old version numbers of other browsers)
I agree with @LeeLenaleee if large companies can't update the browser, they probably won't update the code either. They can continue to work with chart.js version 2.
Most helpful comment
If we can drop IE11 support now, I am onboard.