]> git.argeo.org Git - gpl/argeo-suite.git/blob - js/src/chart/export-package.js
Revert loading of XSD
[gpl/argeo-suite.git] / js / src / chart / export-package.js
1 import BarChart from './BarChart.js';
2 import TestGraph from './TestGraph.js';
3 //import { rectY, binX } from "@observablehq/plot";
4
5 // PSEUDO PACKAGE
6 if (typeof globalThis.argeo === 'undefined')
7 globalThis.argeo = {};
8 if (typeof globalThis.argeo.app === 'undefined')
9 globalThis.argeo.app = {};
10 if (typeof globalThis.argeo.app.chart === 'undefined')
11 globalThis.argeo.app.chart = {};
12
13 // PUBLIC CLASSES
14 globalThis.argeo.app.chart.BarChart = BarChart;
15 globalThis.argeo.app.chart.TestGraph = TestGraph;
16
17 //const plot = rectY({ length: 10000 }, binX({ y: "count" }, { x: Math.random })).plot();
18 //const div = document.querySelector("#myplot");
19 //div.append(plot);
20
21 "use strict";