diff --git a/package.json b/package.json index daf37a2..9c42ccc 100644 --- a/package.json +++ b/package.json @@ -1,129 +1,185 @@ { "name": "no-name", "license": "UNLICENSED", - "vaadin": { - "dependencies": { - "lit-element": "2.5.1", - "@polymer/polymer": "3.2.0", - "@webcomponents/webcomponentsjs": "^2.2.10", - "lit-html": "1.4.1", - "@vaadin/vaadin-grid": "5.7.13", - "@vaadin/vaadin-icons": "4.3.2", - "@vaadin/vaadin-split-layout": "4.3.0", - "@vaadin/vaadin-combo-box": "5.4.7", - "@vaadin/vaadin-core-shrinkwrap": "14.6.1", - "@vaadin/vaadin-upload": "4.4.1", - "@vaadin/vaadin-dialog": "2.5.2", - "@vaadin/vaadin-select": "2.4.0", - "@vaadin/vaadin-app-layout": "2.2.0", - "@vaadin/vaadin-item": "2.3.0", - "@vaadin/vaadin-notification": "1.6.1", - "@vaadin/vaadin-progress-bar": "1.3.0", - "@vaadin/vaadin-date-time-picker": "1.4.0", - "@vaadin/vaadin-ordered-layout": "1.4.0", - "@vaadin/vaadin-login": "1.2.0", - "@vaadin/vaadin-button": "2.4.0", - "@vaadin/vaadin-date-picker": "4.4.1", - "@vaadin/vaadin-text-field": "2.8.4", - "@vaadin/vaadin-menu-bar": "1.2.2", - "@vaadin/vaadin-custom-field": "1.3.0", - "apexcharts": "3.26.3", - "@vaadin/vaadin-form-layout": "2.3.0", - "@vaadin/vaadin-accordion": "1.2.0", - "@polymer/iron-list": "3.1.0", - "onecolor": "3.1.0", - "@vaadin/vaadin-list-box": "1.4.0", - "@vaadin/vaadin-checkbox": "2.5.0", - "@vaadin/vaadin-details": "1.2.0", - "@polymer/iron-icon": "3.0.1", - "@vaadin/vaadin-time-picker": "2.4.0", - "@vaadin/vaadin-context-menu": "4.5.0", - "@vaadin/vaadin-avatar": "1.0.4", - "@vaadin/vaadin-tabs": "3.2.0", - "@vaadin/vaadin-radio-button": "1.5.1", - "@vaadin/vaadin-lumo-styles": "1.6.0", - "@vaadin/vaadin-material-styles": "1.3.2" - }, - "devDependencies": { - "compression-webpack-plugin": "4.0.1", - "raw-loader": "3.1.0", - "webpack-cli": "3.3.11", - "css-loader": "4.2.1", - "file-loader": "6.1.0", - "extra-watch-webpack-plugin": "1.0.3", - "lit-css-loader": "0.0.4", - "webpack-babel-multi-target-plugin": "2.3.3", - "copy-webpack-plugin": "5.1.2", - "construct-style-sheets-polyfill": "2.4.6", - "webpack": "4.42.0", - "ts-loader": "8.0.12", - "chokidar": "^3.5.0", - "webpack-merge": "4.2.2", - "typescript": "4.0.3", - "webpack-dev-server": "3.11.0", - "extract-loader": "5.1.0" - }, - "hash": "ea4270368185cad1da86d7a79a25a5f159e69f2a6d8a6fd2b6a662fe4b076842" - }, "dependencies": { + "@polymer/iron-a11y-announcer": "3.0.2", + "@polymer/iron-a11y-keys-behavior": "3.0.1", + "@polymer/iron-fit-behavior": "3.0.2", + "@polymer/iron-flex-layout": "3.0.1", "@polymer/iron-icon": "3.0.1", + "@polymer/iron-iconset-svg": "3.0.1", "@polymer/iron-list": "3.1.0", + "@polymer/iron-media-query": "3.0.1", + "@polymer/iron-meta": "3.0.1", + "@polymer/iron-overlay-behavior": "3.0.3", + "@polymer/iron-resizable-behavior": "3.0.1", + "@polymer/iron-scroll-target-behavior": "3.0.1", "@polymer/polymer": "3.2.0", "@vaadin/vaadin-accordion": "1.2.0", "@vaadin/vaadin-app-layout": "2.2.0", "@vaadin/vaadin-avatar": "1.0.4", + "@vaadin/vaadin-board": "2.2.0", "@vaadin/vaadin-button": "2.4.0", - "@vaadin/vaadin-checkbox": "2.5.0", - "@vaadin/vaadin-combo-box": "5.4.7", + "@vaadin/vaadin-charts": "6.3.3", + "@vaadin/vaadin-checkbox": "2.5.1", + "@vaadin/vaadin-combo-box": "5.4.9", + "@vaadin/vaadin-confirm-dialog": "1.3.0", "@vaadin/vaadin-context-menu": "4.5.0", - "@vaadin/vaadin-core-shrinkwrap": "14.6.1", - "@vaadin/vaadin-custom-field": "1.3.0", + "@vaadin/vaadin-control-state-mixin": "2.2.4", + "@vaadin/vaadin-cookie-consent": "1.2.0", + "@vaadin/vaadin-core-shrinkwrap": "14.7.5", + "@vaadin/vaadin-crud": "1.3.1", + "@vaadin/vaadin-custom-field": "1.3.1", "@vaadin/vaadin-date-picker": "4.4.1", "@vaadin/vaadin-date-time-picker": "1.4.0", "@vaadin/vaadin-details": "1.2.0", + "@vaadin/vaadin-development-mode-detector": "2.0.4", "@vaadin/vaadin-dialog": "2.5.2", + "@vaadin/vaadin-element-mixin": "2.4.2", "@vaadin/vaadin-form-layout": "2.3.0", - "@vaadin/vaadin-grid": "5.7.13", + "@vaadin/vaadin-grid": "5.8.4", + "@vaadin/vaadin-grid-pro": "2.3.0", "@vaadin/vaadin-icons": "4.3.2", "@vaadin/vaadin-item": "2.3.0", "@vaadin/vaadin-list-box": "1.4.0", + "@vaadin/vaadin-list-mixin": "2.5.1", "@vaadin/vaadin-login": "1.2.0", - "@vaadin/vaadin-lumo-styles": "1.6.0", + "@vaadin/vaadin-lumo-styles": "1.6.1", "@vaadin/vaadin-material-styles": "1.3.2", "@vaadin/vaadin-menu-bar": "1.2.2", + "@vaadin/vaadin-messages": "1.0.2", "@vaadin/vaadin-notification": "1.6.1", "@vaadin/vaadin-ordered-layout": "1.4.0", + "@vaadin/vaadin-overlay": "3.5.1", "@vaadin/vaadin-progress-bar": "1.3.0", - "@vaadin/vaadin-radio-button": "1.5.1", - "@vaadin/vaadin-select": "2.4.0", + "@vaadin/vaadin-radio-button": "1.5.4", + "@vaadin/vaadin-rich-text-editor": "1.3.1", + "@vaadin/vaadin-select": "2.4.1", "@vaadin/vaadin-split-layout": "4.3.0", "@vaadin/vaadin-tabs": "3.2.0", - "@vaadin/vaadin-text-field": "2.8.4", + "@vaadin/vaadin-text-field": "2.8.6", + "@vaadin/vaadin-themable-mixin": "1.6.2", "@vaadin/vaadin-time-picker": "2.4.0", - "@vaadin/vaadin-upload": "4.4.1", + "@vaadin/vaadin-upload": "4.4.3", + "@vaadin/vaadin-usage-statistics": "2.1.0", + "@webcomponents/shadycss": "1.8.0", "@webcomponents/webcomponentsjs": "^2.2.10", - "apexcharts": "3.26.3", + "apexcharts": "3.30.0", + "construct-style-sheets-polyfill": "3.0.4", "lit-element": "2.5.1", "lit-html": "1.4.1", "onecolor": "3.1.0" }, "devDependencies": { + "babel-loader": "8.2.2", "chokidar": "^3.5.0", "compression-webpack-plugin": "4.0.1", - "construct-style-sheets-polyfill": "2.4.6", "copy-webpack-plugin": "5.1.2", "css-loader": "4.2.1", "extra-watch-webpack-plugin": "1.0.3", "extract-loader": "5.1.0", "file-loader": "6.1.0", + "html-webpack-plugin": "4.5.2", "lit-css-loader": "0.0.4", "raw-loader": "3.1.0", "ts-loader": "8.0.12", "typescript": "4.0.3", "webpack": "4.42.0", - "webpack-babel-multi-target-plugin": "2.3.3", + "webpack-babel-multi-target-plugin": "2.5.0", "webpack-cli": "3.3.11", "webpack-dev-server": "3.11.0", "webpack-merge": "4.2.2" + }, + "vaadin": { + "dependencies": { + "@polymer/iron-a11y-announcer": "3.0.2", + "@polymer/iron-a11y-keys-behavior": "3.0.1", + "@polymer/iron-fit-behavior": "3.0.2", + "@polymer/iron-flex-layout": "3.0.1", + "@polymer/iron-icon": "3.0.1", + "@polymer/iron-iconset-svg": "3.0.1", + "@polymer/iron-list": "3.1.0", + "@polymer/iron-media-query": "3.0.1", + "@polymer/iron-meta": "3.0.1", + "@polymer/iron-overlay-behavior": "3.0.3", + "@polymer/iron-resizable-behavior": "3.0.1", + "@polymer/iron-scroll-target-behavior": "3.0.1", + "@polymer/polymer": "3.2.0", + "@vaadin/vaadin-accordion": "1.2.0", + "@vaadin/vaadin-app-layout": "2.2.0", + "@vaadin/vaadin-avatar": "1.0.4", + "@vaadin/vaadin-board": "2.2.0", + "@vaadin/vaadin-button": "2.4.0", + "@vaadin/vaadin-charts": "6.3.3", + "@vaadin/vaadin-checkbox": "2.5.1", + "@vaadin/vaadin-combo-box": "5.4.9", + "@vaadin/vaadin-confirm-dialog": "1.3.0", + "@vaadin/vaadin-context-menu": "4.5.0", + "@vaadin/vaadin-control-state-mixin": "2.2.4", + "@vaadin/vaadin-cookie-consent": "1.2.0", + "@vaadin/vaadin-core-shrinkwrap": "14.7.5", + "@vaadin/vaadin-crud": "1.3.1", + "@vaadin/vaadin-custom-field": "1.3.1", + "@vaadin/vaadin-date-picker": "4.4.1", + "@vaadin/vaadin-date-time-picker": "1.4.0", + "@vaadin/vaadin-details": "1.2.0", + "@vaadin/vaadin-development-mode-detector": "2.0.4", + "@vaadin/vaadin-dialog": "2.5.2", + "@vaadin/vaadin-element-mixin": "2.4.2", + "@vaadin/vaadin-form-layout": "2.3.0", + "@vaadin/vaadin-grid": "5.8.4", + "@vaadin/vaadin-grid-pro": "2.3.0", + "@vaadin/vaadin-icons": "4.3.2", + "@vaadin/vaadin-item": "2.3.0", + "@vaadin/vaadin-list-box": "1.4.0", + "@vaadin/vaadin-list-mixin": "2.5.1", + "@vaadin/vaadin-login": "1.2.0", + "@vaadin/vaadin-lumo-styles": "1.6.1", + "@vaadin/vaadin-material-styles": "1.3.2", + "@vaadin/vaadin-menu-bar": "1.2.2", + "@vaadin/vaadin-messages": "1.0.2", + "@vaadin/vaadin-notification": "1.6.1", + "@vaadin/vaadin-ordered-layout": "1.4.0", + "@vaadin/vaadin-overlay": "3.5.1", + "@vaadin/vaadin-progress-bar": "1.3.0", + "@vaadin/vaadin-radio-button": "1.5.4", + "@vaadin/vaadin-rich-text-editor": "1.3.1", + "@vaadin/vaadin-select": "2.4.1", + "@vaadin/vaadin-split-layout": "4.3.0", + "@vaadin/vaadin-tabs": "3.2.0", + "@vaadin/vaadin-text-field": "2.8.6", + "@vaadin/vaadin-themable-mixin": "1.6.2", + "@vaadin/vaadin-time-picker": "2.4.0", + "@vaadin/vaadin-upload": "4.4.3", + "@vaadin/vaadin-usage-statistics": "2.1.0", + "@webcomponents/shadycss": "1.8.0", + "@webcomponents/webcomponentsjs": "^2.2.10", + "apexcharts": "3.30.0", + "construct-style-sheets-polyfill": "3.0.4", + "lit-element": "2.5.1", + "lit-html": "1.4.1", + "onecolor": "3.1.0" + }, + "devDependencies": { + "babel-loader": "8.2.2", + "chokidar": "^3.5.0", + "compression-webpack-plugin": "4.0.1", + "copy-webpack-plugin": "5.1.2", + "css-loader": "4.2.1", + "extra-watch-webpack-plugin": "1.0.3", + "extract-loader": "5.1.0", + "file-loader": "6.1.0", + "html-webpack-plugin": "4.5.2", + "lit-css-loader": "0.0.4", + "raw-loader": "3.1.0", + "ts-loader": "8.0.12", + "typescript": "4.0.3", + "webpack": "4.42.0", + "webpack-babel-multi-target-plugin": "2.5.0", + "webpack-cli": "3.3.11", + "webpack-dev-server": "3.11.0", + "webpack-merge": "4.2.2" + }, + "hash": "1818d11a1353a1cabab85f4a52fc684d8e7c9a4aba66ac166736c5045dea802e" } } diff --git a/pom.xml b/pom.xml index 18eae1a..ddc258b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ com.github.appreciated apexcharts - 2.0.0-beta12 + 2.0.0-beta13 ApexCharts.js Integration of ApexCharts.js for the Vaadin platform - 14.6.8 + 14.7.5 1.8 1.8 UTF-8 diff --git a/src/main/java/com/github/appreciated/apexcharts/ApexCharts.java b/src/main/java/com/github/appreciated/apexcharts/ApexCharts.java index 3057ca9..e62da6a 100644 --- a/src/main/java/com/github/appreciated/apexcharts/ApexCharts.java +++ b/src/main/java/com/github/appreciated/apexcharts/ApexCharts.java @@ -18,7 +18,7 @@ import java.util.Arrays; @Tag("apex-charts-wrapper") -@NpmPackage(value = "apexcharts", version = "3.26.3") +@NpmPackage(value = "apexcharts", version = "3.30.0") @NpmPackage(value = "onecolor", version = "3.1.0") @JsModule("./com/github/appreciated/apexcharts/apexcharts-wrapper.js") @CssImport(value = "./com/github/appreciated/apexcharts/apexcharts-wrapper-styles.css", id = "apex-charts-style") diff --git a/src/main/resources/META-INF/resources/frontend/com/github/appreciated/apexcharts/apexcharts-wrapper.js b/src/main/resources/META-INF/resources/frontend/com/github/appreciated/apexcharts/apexcharts-wrapper.js index 591c9e4..28a4f13 100644 --- a/src/main/resources/META-INF/resources/frontend/com/github/appreciated/apexcharts/apexcharts-wrapper.js +++ b/src/main/resources/META-INF/resources/frontend/com/github/appreciated/apexcharts/apexcharts-wrapper.js @@ -279,11 +279,13 @@ class ApexChartsWrapper extends PolymerElement { } if (this.yaxis) { this.config.yaxis = JSON.parse(this.yaxis); - if (this.config.yaxis.labels && this.config.yaxis.labels.formatter) { - this.config.yaxis.labels.formatter = this.evalFunction(this.config.yaxis.labels.formatter); - } - if (this.config.yaxis.title && this.config.yaxis.title.formatter) { - this.config.yaxis.title.formatter = this.evalFunction(this.config.yaxis.title.formatter); + for (let i = 0; i < this.config.yaxis.length; i++) { + if (this.config.yaxis[i].labels && this.config.yaxis[i].labels.formatter) { + this.config.yaxis[i].labels.formatter = this.evalFunction(this.config.yaxis[i].labels.formatter); + } + if (this.config.yaxis[i].title && this.config.yaxis[i].title.formatter) { + this.config.yaxis[i].title.formatter = this.evalFunction(this.config.yaxis[i].title.formatter); + } } } if (!this.config.chart) { diff --git a/src/test/java/com/github/appreciated/apexcharts/examples/formatter/IntFormatterExample.java b/src/test/java/com/github/appreciated/apexcharts/examples/formatter/IntFormatterExample.java index 9b39091..52e31de 100644 --- a/src/test/java/com/github/appreciated/apexcharts/examples/formatter/IntFormatterExample.java +++ b/src/test/java/com/github/appreciated/apexcharts/examples/formatter/IntFormatterExample.java @@ -27,25 +27,25 @@ public IntFormatterExample() { .build()) .withSeries( new Series<>("SAMPLE A", - new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("5.4")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("25.4"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("19"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("1")}, - new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("3.2")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("7.4")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("8.2")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("1.8")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("2.3")}, - new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("3.7")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("5.2")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("6.5")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("7.1")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("8.1"),new BigDecimal("4.7")}, new BigDecimal[]{new BigDecimal("19"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("1.8")}, - new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"),new BigDecimal("1.5")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0.8")}, - new BigDecimal[]{new BigDecimal("22.1"),new BigDecimal("2")}), - new Series<>("SAMPLE B", new BigDecimal[]{new BigDecimal("6.4"),new BigDecimal("13.4")}, new BigDecimal[]{new BigDecimal("1.7"),new BigDecimal("11")}, new BigDecimal[]{new BigDecimal("5.4"),new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("9"),new BigDecimal("17")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("4")}, - new BigDecimal[]{new BigDecimal("3.6"),new BigDecimal("12.2")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("14.4")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("9")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("13.2")}, new BigDecimal[]{new BigDecimal("1.4"),new BigDecimal("7")}, new BigDecimal[]{new BigDecimal("6.4"),new BigDecimal("8.8")}, - new BigDecimal[]{new BigDecimal("3.6"),new BigDecimal("4.3")}, new BigDecimal[]{new BigDecimal("1.6"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("9.9"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("7.1"),new BigDecimal("15")}, new BigDecimal[]{new BigDecimal("1.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("3.6"),new BigDecimal("13.7")}, - new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("15.2")}, new BigDecimal[]{new BigDecimal("6.4"),new BigDecimal("16.5")}, new BigDecimal[]{new BigDecimal("0.9"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("4.5"),new BigDecimal("17.1")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("0.1"),new BigDecimal("14.7")}, - new BigDecimal[]{new BigDecimal("9"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("12.7"),new BigDecimal("11.8")}, new BigDecimal[]{new BigDecimal("2.1"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.5"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.9"),new BigDecimal("11.5")}, - new BigDecimal[]{new BigDecimal("7.1"),new BigDecimal("10.8")}, new BigDecimal[]{new BigDecimal("2.1"),new BigDecimal("12")}), - new Series<>("SAMPLE C", new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("23.6"),new BigDecimal("3.5")}, new BigDecimal[]{new BigDecimal("24.6"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("29.9"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("20")}, - new BigDecimal[]{new BigDecimal("23"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("28"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("19"),new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("22.4"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("32.6"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("29.6"),new BigDecimal("6")}, - new BigDecimal[]{new BigDecimal("31.6"),new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("21.6"),new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("20.9"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("22.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("32.6"),new BigDecimal("10.3")}, new BigDecimal[]{new BigDecimal("29.7"),new BigDecimal("20.8")}, - new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("0.8")}, new BigDecimal[]{new BigDecimal("21.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("6.9")}, new BigDecimal[]{new BigDecimal("28.6"),new BigDecimal("7.7")}, new BigDecimal[]{new BigDecimal("15.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("18.1"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("33.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("0")}) + new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("5.4")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("25.4"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("19"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("1")}, + new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("3.2")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("7.4")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("8.2")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("1.8")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("2.3")}, + new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("3.7")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("5.2")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("6.5")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("7.1")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("8.1"), new BigDecimal("4.7")}, new BigDecimal[]{new BigDecimal("19"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("1.8")}, + new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"), new BigDecimal("1.5")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0.8")}, + new BigDecimal[]{new BigDecimal("22.1"), new BigDecimal("2")}), + new Series<>("SAMPLE B", new BigDecimal[]{new BigDecimal("6.4"), new BigDecimal("13.4")}, new BigDecimal[]{new BigDecimal("1.7"), new BigDecimal("11")}, new BigDecimal[]{new BigDecimal("5.4"), new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("9"), new BigDecimal("17")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("4")}, + new BigDecimal[]{new BigDecimal("3.6"), new BigDecimal("12.2")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("14.4")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("9")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("13.2")}, new BigDecimal[]{new BigDecimal("1.4"), new BigDecimal("7")}, new BigDecimal[]{new BigDecimal("6.4"), new BigDecimal("8.8")}, + new BigDecimal[]{new BigDecimal("3.6"), new BigDecimal("4.3")}, new BigDecimal[]{new BigDecimal("1.6"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("9.9"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("7.1"), new BigDecimal("15")}, new BigDecimal[]{new BigDecimal("1.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("3.6"), new BigDecimal("13.7")}, + new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("15.2")}, new BigDecimal[]{new BigDecimal("6.4"), new BigDecimal("16.5")}, new BigDecimal[]{new BigDecimal("0.9"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("4.5"), new BigDecimal("17.1")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("0.1"), new BigDecimal("14.7")}, + new BigDecimal[]{new BigDecimal("9"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("12.7"), new BigDecimal("11.8")}, new BigDecimal[]{new BigDecimal("2.1"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.5"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.9"), new BigDecimal("11.5")}, + new BigDecimal[]{new BigDecimal("7.1"), new BigDecimal("10.8")}, new BigDecimal[]{new BigDecimal("2.1"), new BigDecimal("12")}), + new Series<>("SAMPLE C", new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("23.6"), new BigDecimal("3.5")}, new BigDecimal[]{new BigDecimal("24.6"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("29.9"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("20")}, + new BigDecimal[]{new BigDecimal("23"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("28"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("19"), new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("22.4"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("32.6"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("29.6"), new BigDecimal("6")}, + new BigDecimal[]{new BigDecimal("31.6"), new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("21.6"), new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("20.9"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("22.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("32.6"), new BigDecimal("10.3")}, new BigDecimal[]{new BigDecimal("29.7"), new BigDecimal("20.8")}, + new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("0.8")}, new BigDecimal[]{new BigDecimal("21.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("6.9")}, new BigDecimal[]{new BigDecimal("28.6"), new BigDecimal("7.7")}, new BigDecimal[]{new BigDecimal("15.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("18.1"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("33.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("0")}) ) .withXaxis(XAxisBuilder.get().withLabels(LabelsBuilder.get().withFormatter(new IntFormatter()).build()).build()) .withYaxis(YAxisBuilder.get().withLabels(com.github.appreciated.apexcharts.config.yaxis.builder.LabelsBuilder.get().withFormatter(new IntFormatter()).build()) diff --git a/src/test/java/com/github/appreciated/apexcharts/examples/formatter/SuffixFormatterExample.java b/src/test/java/com/github/appreciated/apexcharts/examples/formatter/SuffixFormatterExample.java index 299c935..d189482 100644 --- a/src/test/java/com/github/appreciated/apexcharts/examples/formatter/SuffixFormatterExample.java +++ b/src/test/java/com/github/appreciated/apexcharts/examples/formatter/SuffixFormatterExample.java @@ -27,25 +27,25 @@ public SuffixFormatterExample() { .build()) .withSeries( new Series<>("SAMPLE A", - new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("5.4")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("25.4"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("19"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("1")}, - new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("3.2")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("7.4")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("8.2")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("1.8")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("2.3")}, - new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("3.7")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("5.2")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("6.5")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("7.1")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("8.1"),new BigDecimal("4.7")}, new BigDecimal[]{new BigDecimal("19"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("1.8")}, - new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"),new BigDecimal("1.5")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0.8")}, - new BigDecimal[]{new BigDecimal("22.1"),new BigDecimal("2")}), - new Series<>("SAMPLE B", new BigDecimal[]{new BigDecimal("6.4"),new BigDecimal("13.4")}, new BigDecimal[]{new BigDecimal("1.7"),new BigDecimal("11")}, new BigDecimal[]{new BigDecimal("5.4"),new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("9"),new BigDecimal("17")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("4")}, - new BigDecimal[]{new BigDecimal("3.6"),new BigDecimal("12.2")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("14.4")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("9")}, new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("13.2")}, new BigDecimal[]{new BigDecimal("1.4"),new BigDecimal("7")}, new BigDecimal[]{new BigDecimal("6.4"),new BigDecimal("8.8")}, - new BigDecimal[]{new BigDecimal("3.6"),new BigDecimal("4.3")}, new BigDecimal[]{new BigDecimal("1.6"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("9.9"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("7.1"),new BigDecimal("15")}, new BigDecimal[]{new BigDecimal("1.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("3.6"),new BigDecimal("13.7")}, - new BigDecimal[]{new BigDecimal("1.9"),new BigDecimal("15.2")}, new BigDecimal[]{new BigDecimal("6.4"),new BigDecimal("16.5")}, new BigDecimal[]{new BigDecimal("0.9"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("4.5"),new BigDecimal("17.1")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("0.1"),new BigDecimal("14.7")}, - new BigDecimal[]{new BigDecimal("9"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("12.7"),new BigDecimal("11.8")}, new BigDecimal[]{new BigDecimal("2.1"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.5"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.9"),new BigDecimal("11.5")}, - new BigDecimal[]{new BigDecimal("7.1"),new BigDecimal("10.8")}, new BigDecimal[]{new BigDecimal("2.1"),new BigDecimal("12")}), - new Series<>("SAMPLE C", new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("23.6"),new BigDecimal("3.5")}, new BigDecimal[]{new BigDecimal("24.6"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("29.9"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("20")}, - new BigDecimal[]{new BigDecimal("23"),new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("28"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("13.6"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("19"),new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("22.4"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("32.6"),new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("27.1"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("29.6"),new BigDecimal("6")}, - new BigDecimal[]{new BigDecimal("31.6"),new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("21.6"),new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("20.9"),new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("22.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("32.6"),new BigDecimal("10.3")}, new BigDecimal[]{new BigDecimal("29.7"),new BigDecimal("20.8")}, - new BigDecimal[]{new BigDecimal("24.5"),new BigDecimal("0.8")}, new BigDecimal[]{new BigDecimal("21.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"),new BigDecimal("6.9")}, new BigDecimal[]{new BigDecimal("28.6"),new BigDecimal("7.7")}, new BigDecimal[]{new BigDecimal("15.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("18.1"),new BigDecimal("0")}, - new BigDecimal[]{new BigDecimal("33.4"),new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("16.4"),new BigDecimal("0")}) + new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("5.4")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("25.4"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("19"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("1")}, + new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("3.2")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("7.4")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("8.2")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("1.8")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("2.3")}, + new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("3.7")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("5.2")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("6.5")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("7.1")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("8.1"), new BigDecimal("4.7")}, new BigDecimal[]{new BigDecimal("19"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("1.8")}, + new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("29.9"), new BigDecimal("1.5")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0.8")}, + new BigDecimal[]{new BigDecimal("22.1"), new BigDecimal("2")}), + new Series<>("SAMPLE B", new BigDecimal[]{new BigDecimal("6.4"), new BigDecimal("13.4")}, new BigDecimal[]{new BigDecimal("1.7"), new BigDecimal("11")}, new BigDecimal[]{new BigDecimal("5.4"), new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("9"), new BigDecimal("17")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("4")}, + new BigDecimal[]{new BigDecimal("3.6"), new BigDecimal("12.2")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("14.4")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("9")}, new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("13.2")}, new BigDecimal[]{new BigDecimal("1.4"), new BigDecimal("7")}, new BigDecimal[]{new BigDecimal("6.4"), new BigDecimal("8.8")}, + new BigDecimal[]{new BigDecimal("3.6"), new BigDecimal("4.3")}, new BigDecimal[]{new BigDecimal("1.6"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("9.9"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("7.1"), new BigDecimal("15")}, new BigDecimal[]{new BigDecimal("1.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("3.6"), new BigDecimal("13.7")}, + new BigDecimal[]{new BigDecimal("1.9"), new BigDecimal("15.2")}, new BigDecimal[]{new BigDecimal("6.4"), new BigDecimal("16.5")}, new BigDecimal[]{new BigDecimal("0.9"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("4.5"), new BigDecimal("17.1")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("0.1"), new BigDecimal("14.7")}, + new BigDecimal[]{new BigDecimal("9"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("12.7"), new BigDecimal("11.8")}, new BigDecimal[]{new BigDecimal("2.1"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.5"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("10")}, new BigDecimal[]{new BigDecimal("2.9"), new BigDecimal("11.5")}, + new BigDecimal[]{new BigDecimal("7.1"), new BigDecimal("10.8")}, new BigDecimal[]{new BigDecimal("2.1"), new BigDecimal("12")}), + new Series<>("SAMPLE C", new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("23.6"), new BigDecimal("3.5")}, new BigDecimal[]{new BigDecimal("24.6"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("29.9"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("20")}, + new BigDecimal[]{new BigDecimal("23"), new BigDecimal("2")}, new BigDecimal[]{new BigDecimal("10.9"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("28"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("0.3")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("13.6"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("19"), new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("22.4"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("32.6"), new BigDecimal("3")}, new BigDecimal[]{new BigDecimal("27.1"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("29.6"), new BigDecimal("6")}, + new BigDecimal[]{new BigDecimal("31.6"), new BigDecimal("8")}, new BigDecimal[]{new BigDecimal("21.6"), new BigDecimal("5")}, new BigDecimal[]{new BigDecimal("20.9"), new BigDecimal("4")}, new BigDecimal[]{new BigDecimal("22.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("32.6"), new BigDecimal("10.3")}, new BigDecimal[]{new BigDecimal("29.7"), new BigDecimal("20.8")}, + new BigDecimal[]{new BigDecimal("24.5"), new BigDecimal("0.8")}, new BigDecimal[]{new BigDecimal("21.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("21.7"), new BigDecimal("6.9")}, new BigDecimal[]{new BigDecimal("28.6"), new BigDecimal("7.7")}, new BigDecimal[]{new BigDecimal("15.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("18.1"), new BigDecimal("0")}, + new BigDecimal[]{new BigDecimal("33.4"), new BigDecimal("0")}, new BigDecimal[]{new BigDecimal("16.4"), new BigDecimal("0")}) ) .withXaxis(XAxisBuilder.get().withLabels(LabelsBuilder.get().withFormatter(new SuffixFormatter(" foobar")).build()).build()) .withYaxis(YAxisBuilder.get().withLabels(com.github.appreciated.apexcharts.config.yaxis.builder.LabelsBuilder.get().withFormatter(new SuffixFormatter(" foobar")).build()) diff --git a/webpack.config.js b/webpack.config.js index fec9643..ac369e9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,10 @@ /** - * This file has been autogenerated as it didn't exist or was made for an older incompatible version. - * This file can be used for manual configuration will not be modified if the flowDefaults constant exists. + * This file contains project specific customizations for the webpack build. + * It is autogenerated if it didn't exist or if it was made for an older + * incompatible version. + * + * Defaults are provided in an autogenerated webpack.generated.js file and used by this file. + * The webpack.generated.js file is overwritten on each build and no customization can be done there. */ const merge = require('webpack-merge'); const flowDefaults = require('./webpack.generated.js');