Eric Mikula 1ccb100739 Change legendTemplates to use separate spans for text and icon.
This addresses the issue in #2192 without entirely reverting #886. Note that it still may cause confusing behavior for some legends: Specifically, the example on chartjs.org styles ".doughnut-legend li span" with a fixed width, and therefore both of the new spans will be impacted by this styling. However, now two spans are generated instead. %name%-legend-icon is used for the color icon, and %name%-legend-text can be used for styling the text. This should be described in release notes.
2016-04-04 18:22:25 -04:00
2015-01-29 21:43:02 -05:00
2015-11-05 13:36:04 -05:00
2016-02-19 21:21:26 -07:00

Chart.js

Build Status Code Climate Chart.js on Slack

Simple HTML5 Charts using the canvas element chartjs.org

v1.0.2 Stable

Examples | Documentation

v2.0 Beta

Documentation for v2.0 is currently located here.

v2.0 Bleeding-Edge

The next generation and release of Chart.js (v2.0) has been well under way this year and we are very close to releasing some amazing new features including, but not limited to:

  • Rewritten, optimized, and unit-tested
  • New and improved scales (log, time, linear, category, multiple scales)
  • Improved Tooltips and tooltip callbacks for customization
  • Improved responsiveness and resizing
  • Powerful support for adding, removing, changing, and updating data on the fly
  • Animations for everything, including all elements, colors and tooltips
  • Powerful customization when you need it. Automatic and dynamic when you don't.
  • Excellent support for modern frameworks and modular build systems.
  • Even more extensible via new element controllers, core scale classes, combo chart support, and hook systems
  • Bug fixes, stability improvements, etc.

#####Contributing to 2.0 Submit PR's to the v2.0-dev branch.

#####Building and Testing gulp build, gulp test, gulp watch --test

#####v1.x Status: Feature Complete v1.x is now considered feature complete. PR's for bug fixes are still extremely welcome. Any open PR's for v1.x features will need to be reconsidered, refactored and resubmitted for v2.x (if the feature has not already been implemented). For questions on new features refer to the docs in the v2.0-dev branch

Bugs, Issues and Contributing

Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.

For support using Chart.js, please post questions with the chartjs tag on Stack Overflow.

License

Chart.js is available under the MIT license.

Description
Languages
JavaScript 89%
TypeScript 10.6%
Shell 0.2%
HTML 0.2%