-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate the documentation to VuePress
It seems that GitBook abandoned their open source tools which now contains lot of vulnerabilities so let's switch to VuePress which looks more flexible and user friendly.
- Loading branch information
1 parent
28d1a87
commit 50de9be
Showing
20 changed files
with
142 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
module.exports = { | ||
title: 'chartjs-plugin-datalabels', | ||
description: 'Display labels on data for any type of charts.', | ||
ga: 'UA-99068522-2', | ||
head: [ | ||
['link', { rel: 'icon', href: `/favicon.png` }], | ||
], | ||
themeConfig: { | ||
repo: 'chartjs/chartjs-plugin-datalabels', | ||
logo: '/favicon.png', | ||
lastUpdated: 'Last Updated', | ||
editLinks: true, | ||
docsDir: 'docs', | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Guide', link: '/guide/' }, | ||
{ text: 'Samples', link: 'https://chartjs-plugin-datalabels.netlify.com/samples/' } | ||
], | ||
sidebar: [ | ||
'/guide/', | ||
'/guide/installation', | ||
'/guide/options', | ||
'/guide/positioning', | ||
'/guide/formatting', | ||
'/guide/events' | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$accentColor = #3080D0 | ||
$contentWidth = 768px | ||
$textColor = #404244 |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@import 'override.styl' | ||
|
||
a | ||
svg.icon.outbound | ||
margin-bottom -2px | ||
margin-left 2px | ||
|
||
img + svg.icon.outbound | ||
display none | ||
|
||
sup | ||
font-size 0.75em !important | ||
|
||
.content a code | ||
color $accentColor | ||
|
||
.navbar | ||
-webkit-box-shadow 0 4px 4px -4px rgba(0,0,0,0.1) | ||
-moz-box-shadow 0 4px 4px -4px rgba(0,0,0,0.1) | ||
box-shadow 0 4px 4px -4px rgba(0,0,0,0.1) | ||
|
||
.logo | ||
margin-right: 0.5rem; | ||
|
||
.site-name | ||
font-size 1.25rem | ||
|
||
.repo-link | ||
margin-left 1rem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
![chartjs-plugin-datalabels](assets/banner.png) | ||
|
||
Highly customizable [Chart.js](http://www.chartjs.org/) plugin that displays labels on data for any type of charts. | ||
|
||
Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **2.7.0** or later. | ||
|
||
> **Important:** this plugin doesn't provide any public API (except the plugin options), thus you should **not** access private properties or methods starting with `$` or `_`, including the `$datalabels` attached property. The implementation can change at any version and could break your production build without notice in upcoming minor/patch releases if any of your code relies on it. | ||
## Table of Contents | ||
|
||
{% include "SUMMARY.md" %} | ||
|
||
## License | ||
|
||
`chartjs-plugin-datalabels` is available under the [MIT license](https://github.com/chartjs/chartjs-plugin-datalabels/blob/master/LICENSE.md). | ||
--- | ||
home: true | ||
heroImage: /hero.png | ||
actionText: Get Started → | ||
actionLink: /guide/ | ||
footer: MIT Licensed | Copyright © 2018 Chart.js Contributors | ||
features: | ||
- title: Flexible | ||
details: Compatible with all types of charts (bar, line, doughnut, radar, etc.) | ||
- title: Customizable | ||
details: Appearance and position of each label are fully and dynamically controllable. | ||
- title: Interactive | ||
details: Labels can react to user interactions or element events using scriptable options. | ||
--- |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Introduction | ||
|
||
Highly customizable [Chart.js](http://www.chartjs.org/) plugin that displays labels on data for any type of charts. | ||
|
||
::: warning COMPATIBILITY NOTE | ||
Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **2.7.0** or later. | ||
::: | ||
|
||
::: danger IMPORTANT | ||
This plugin doesn't provide any public API (except the plugin options), thus you should **not** access private properties or methods starting with `$` or `_`, including the `$datalabels` attached property. The implementation can change at any version and could break your production build without notice in upcoming minor/patch releases if any of your code relies on it. | ||
::: | ||
|
||
## Table of Contents | ||
|
||
* [Installation](installation.md) | ||
* [Options](options.md) | ||
* [Positioning](positioning.md) | ||
* [Formating](formatting.md) | ||
* [Events](events.md) | ||
* [Samples](https://chartjs-plugin-datalabels.netlify.com/samples/) | ||
|
||
## License | ||
|
||
`chartjs-plugin-datalabels` is available under the [MIT license](https://github.com/chartjs/chartjs-plugin-datalabels/blob/master/LICENSE.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters