Skip to content

Commit

Permalink
updates for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
stockiNail committed Oct 24, 2022
1 parent 11a13d5 commit fb13f03
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/Requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Even if [Chart.JS](http://www.chartjs.org/) leaves the users to select a date ad
Furthermore **Charba** has embedded a set of [Chart.JS](http://www.chartjs.org/) plugins and controllers in order to enrich own features:

* [DataLabels](https://github.com/chartjs/chartjs-plugin-datalabels) plugin
* [Labels](https://github.com/emn178/chartjs-plugin-labels) plugin (former PieceLabels). Due to the project is unmaintained, the plugin has been [imported](https://github.com/pepstock-org/Charba/blob/master/src/org/pepstock/charba/client/resources/js/chartjs-plugin-labels.js) in **Charba** project and maintained in [Charba](https://github.com/pepstock-org/Charba/blob/5.6/src/org/pepstock/charba/client/resources/js/chartjs-plugin-labels.js) project
* [Labels](https://github.com/emn178/chartjs-plugin-labels) plugin (former PieceLabels). Due to the project is unmaintained, the plugin has been [imported](https://github.com/pepstock-org/Charba/blob/master/src/org/pepstock/charba/client/resources/js/chartjs-plugin-labels.js) in **Charba** project and maintained in [Charba](https://github.com/pepstock-org/Charba/blob/5.7/src/org/pepstock/charba/client/resources/js/chartjs-plugin-labels.js) project
* [Zoom](https://github.com/chartjs/chartjs-plugin-zoom) plugin
* [Hammer.JS](https://github.com/hammerjs/hammer.js) javaScript library for detecting touch gestures, as dependency of [Zoom](https://github.com/chartjs/chartjs-plugin-zoom) plugin
* [Annotation](https://github.com/chartjs/chartjs-plugin-annotation) plugin
Expand All @@ -35,7 +35,7 @@ Furthermore **Charba** has embedded a set of [Chart.JS](http://www.chartjs.org/)

**Charba** has got embedded [ML.js](https://github.com/mljs/ml) to enable some [regressions](Regressions) models as part of machine learning tools.

To enable the minifying of javascript objects, not provided out-of-the-box, **Charba** needs also [Google Closure Compiler](https://developers.google.com/closure/compiler/), invoked only in [Ant build.xml](https://github.com/pepstock-org/Charba/blob/5.6/build.xml).
To enable the minifying of javascript objects, not provided out-of-the-box, **Charba** needs also [Google Closure Compiler](https://developers.google.com/closure/compiler/), invoked only in [Ant build.xml](https://github.com/pepstock-org/Charba/blob/5.7/build.xml).

See here the license matrix.

Expand Down Expand Up @@ -137,7 +137,7 @@ To activate the polyfill by `polyfill.io`, you just need to add the following HT

The following matrixes are showing the dependencies with version of components which are released in all **Charba** versions.

<img src={useBaseUrl('/img/charba_jar_trend_56.png')} />
<img src={useBaseUrl('/img/charba_jar_trend_57.png')} />

### Java

Expand Down
12 changes: 6 additions & 6 deletions docs/getting-started/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import useBaseUrl from '@docusaurus/useBaseUrl';

## Building

To build **Charba**, you can check out the project and to run [Ant build.xml](https://github.com/pepstock-org/Charba/blob/5.6/build.xml).
To build **Charba**, you can check out the project and to run [Ant build.xml](https://github.com/pepstock-org/Charba/blob/5.7/build.xml).

The [Ant build.xml](https://github.com/pepstock-org/Charba/blob/5.6/build.xml) is able to build the 2 artifacts, related to the 2 distributions available.
The [Ant build.xml](https://github.com/pepstock-org/Charba/blob/5.7/build.xml) is able to build the 2 artifacts, related to the 2 distributions available.

The first distribution is a **Charba** file without any GWT dependency (but working on GWT anyway), consumable also in other [J2CL - JavaToClosure](https://github.com/google/j2cl) frameworks, like [Google Elemental2](https://github.com/google/elemental2) and [Elemento](https://github.com/hal/elemento).

Expand All @@ -36,18 +36,18 @@ If you are using [Apache Maven](https://maven.apache.org/):
<dependency>
<groupId>org.pepstock</groupId>
<artifactId>charba</artifactId>
<version>5.6</version>
<version>5.7</version>
<!-- for GWT -->
<version>5.6-gwt</version>
<version>5.7-gwt</version>
</dependency>
```

If you are using [Apache Ivy](http://ant.apache.org/ivy/):

```xml
<dependency org="org.pepstock" name="charba" rev="5.6"/>
<dependency org="org.pepstock" name="charba" rev="5.7"/>
<!-- for GWT -->
<dependency org="org.pepstock" name="charba" rev="5.6-gwt"/>
<dependency org="org.pepstock" name="charba" rev="5.7-gwt"/>
```

To install in your GWT project, both for GWT and for J2CL artifacts, you must the following configuration in your GWT project module configuration:
Expand Down
Binary file added static/img/charba_jar_trend_57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb13f03

Please sign in to comment.