Chart.js/docs
Evert Timberg 1f6d0a244b
Linear Scale: Ability to specify a fixed number of ticks (#8643)
* Option to specify exact number of ticks on linear scale
* Fix issue description in tests
* Add tests for conditions where min/max do not align with niceMin/niceMax
* Refactor linear tick generation algorithm
* Add TS definitions
* Update docs
* Code review feedback + lint fixes
2021-03-15 08:49:25 -04:00
..
docs Linear Scale: Ability to specify a fixed number of ticks (#8643) 2021-03-15 08:49:25 -04:00
src Document the different parts of cartesian and radial scales with examples (#8636) 2021-03-14 08:22:28 +02:00
static/img Add og:image (#8635) 2021-03-14 11:08:12 -04:00
docusaurus.config.js Add og:image (#8635) 2021-03-14 11:08:12 -04:00
package-lock.json Upgrade Docusaurus (#8262) 2021-01-02 08:49:11 +02:00
package.json Upgrade Docusaurus (#8262) 2021-01-02 08:49:11 +02:00
README.md Add markdown linting, fix errors (#8449) 2021-02-18 08:17:39 -05:00
sidebars.js Add x/y shorthand for padding options (#8637) 2021-03-14 11:21:30 -04:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

npm install

Local Development

npm run start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.