Skip to content

Commit

Permalink
primefaces#6812 Chart.js v3.1.0 --> Chart.js v3.1.1 and some docu-upd…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
christophs78 committed Apr 18, 2021
1 parent 4613a83 commit 1ec8acc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions docs/11_0_0/components/charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Chart.js based components are a modern replacement for the older p:chart compone

[See this widget in the JavaScript API Docs.](../jsdocs/classes/src_primefaces.primefaces.widget.basechart-1.html)

TODO: Check against Chart.js 3

## BarChart

A bar chart provides a way of showing data values represented as vertical bars. It is sometimes used to show trend data, and the comparison of multiple data sets side by side.
Expand Down Expand Up @@ -1018,7 +1016,7 @@ Charts are canvas based and can be exported as static images with client side ap
```

## Extender
Extender function allows access to the underlying chart.js api using the setExtender method of the model. The exstender function needs to be defined before the chart component, otherwise it could happen that on the first model load, the script isn't found.
Extender function allows access to the underlying chart.js api using the setExtender method of the model. The extender function needs to be defined before the chart component, otherwise it could happen that on the first model load, the script isn't found.

TODO: Check against Chart.js 3

Expand Down
2 changes: 1 addition & 1 deletion docs/11_0_0/core/thirdpartylibs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ are many other third party libraries and plugins used to support features.
| Library | Version | URL |
| --- | --- | --- |
| [AutoNumeric](../jsdocs/classes/node_modules_autonumeric.export_-1.html) | 4.5.9 | https://github.com/autoNumeric/autoNumeric |
| [Chart.js](../jsdocs/classes/node_modules__types_chart_js.export_-1.html) | 3.0.1 | https://www.chartjs.org |
| [Chart.js](../jsdocs/classes/node_modules__types_chart_js.export_-1.html) | 3.1.1 | https://www.chartjs.org |
| [Color Picker](../jsdocs/interfaces/src_primefaces.jquery-1.html#colorpicker) | (2012) | www.eyecon.ro |
| [Cookie](../jsdocs/modules/node_modules__types_js_cookie.html) | 3.0.0 | https://github.com/js-cookie/js-cookie |
| [ContentFlow](../jsdocs/classes/src_primefaces.contentflow.html) | 1.0.2 | http://www.jacksasylum.eu/ContentFlow |
Expand Down
2 changes: 1 addition & 1 deletion docs/migrationguide/11_0_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following components have been removed.
- Now responsive="true" by default.

## Charts
- Chart.js 2.9.4 was replaced with Chart.js 3.0
- Chart.js 2.9.4 was replaced with Chart.js 3.1.1
- Chart.js comes with breaking changes. When you only work with PrimeFaces-Charts-components and classes most things should work as with PrimeFaces 10.<br/>
For custom ChartJS-JavaScript please take a look at https://www.chartjs.org/docs/next/getting-started/v3-migration/
- TODO: PrimeFaces-changes

Large diffs are not rendered by default.

0 comments on commit 1ec8acc

Please sign in to comment.