some tests

This commit is contained in:
pvictor 2021-09-05 18:56:38 +02:00
parent 027c5bc16f
commit f670771a22
4 changed files with 19 additions and 1702 deletions

File diff suppressed because one or more lines are too long

1707
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"name": "apexcharter",
"version": "1.0.0",
"description": "> Htmlwidget for [apexcharts.js](https://github.com/apexcharts/apexcharts.js) : A modern JavaScript charting library to build interactive charts and visualizations with simple API. See the [online demo](https://dreamrs.github.io/apexcharter/) for examples.",
"description": "Htmlwidget for [apexcharts.js](https://github.com/apexcharts/apexcharts.js) : A modern JavaScript charting library to build interactive charts and visualizations with simple API. See the [online demo](https://dreamrs.github.io/apexcharter/) for examples.",
"main": "index.js",
"directories": {
"doc": "docs",
@ -22,18 +22,20 @@
},
"keywords": [],
"author": "Victor Perrier",
"license": "ISC",
"license": "MIT",
"bugs": {
"url": "https://github.com/dreamRs/apexcharter/issues"
},
"homepage": "https://github.com/dreamRs/apexcharter#readme",
"devDependencies": {
"apexcharts": "^3.27.3",
"css-loader": "^6.2.0",
"d3-format": "^3.0.1",
"style-loader": "^3.2.1",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"apexcharts": "^3.27.3",
"d3-format": "^3.0.1"
}
}

View File

@ -4,10 +4,12 @@ import {format, formatLocale} from "d3-format";
import * as utils from "../modules/utils";
import "../css/apexcharter.css";
/*
window.d3 = {
format: format,
formatLocale: formatLocale
};
*/
HTMLWidgets.widget({
name: "apexcharter",