# 开发者
¥Developers
开发者功能允许以多种不同方式扩展和增强 Chart.js。
¥Developer features allow extending and enhancing Chart.js in many different ways.
# 最新资源
¥Latest resources
最新的文档和示例(包括未发布的功能)可从以下位置获取:
¥The latest documentation and samples, including unreleased features, are available at:
# 开发版本
¥Development releases
最新版本可在以下位置进行测试:
¥Latest builds are available for testing at:
https://chart.nodejs.cn/dist/master/chart.js (opens new window)
https://chart.nodejs.cn/dist/master/chart.min.js (opens new window)
警告
开发版本不得用于生产目的或作为 CDN 的替代品。见 可用的 CDN。
¥Development builds must not be used for production purposes or as replacement for a CDN. See available CDNs.
# 浏览器支持
¥Browser support
支持所有现代和最新的浏览器,包括但不限于:
¥All modern and up-to-date browsers are supported, including, but not limited to:
Chrome
边缘
¥Edge
火狐
¥Firefox
苹果浏览器
¥Safari
从版本 3 开始,我们已放弃对 Internet Explorer 11 的支持。
¥As of version 3, we have dropped Internet Explorer 11 support.
所有现代和主要的移动浏览器都提供对画布元素的浏览器支持。CanIUse (opens new window)
¥Browser support for the canvas element is available in all modern & major mobile browsers. CanIUse (opens new window)
在 codebase (opens new window) 的根目录下运行 npx browserslist
以获取支持的浏览器列表。
¥Run npx browserslist
at the root of the codebase (opens new window) to get a list of supported browsers.
感谢 BrowserStack (opens new window) 允许我们的团队在数千种浏览器上进行测试。
¥Thanks to BrowserStack (opens new window) for allowing our team to test on thousands of browsers.
# 之前的版本
¥Previous versions
要从版本 2 迁移到版本 3,请参阅 v3 迁移指南。
¥To migrate from version 2 to version 3, please see the v3 migration guide.
版本 3 的 API 与早期版本有很大不同。
¥Version 3 has a largely different API than earlier versions.
大多数早期版本选项具有当前等效项或相同。
¥Most earlier version options have current equivalents or are the same.
Please note - 先前版本的文档可在线或在 GitHub 存储库中获取。
¥Please note - documentation for previous versions is available online or in the GitHub repo.