]>
git.argeo.org Git - gpl/argeo-suite.git/blob - 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";
6 if (typeof globalThis
.argeo
=== 'undefined')
8 if (typeof globalThis
.argeo
.app
=== 'undefined')
9 globalThis
.argeo
.app
= {};
10 if (typeof globalThis
.argeo
.app
.chart
=== 'undefined')
11 globalThis
.argeo
.app
.chart
= {};
14 globalThis
.argeo
.app
.chart
.BarChart
= BarChart
;
15 globalThis
.argeo
.app
.chart
.TestGraph
= TestGraph
;
17 //const plot = rectY({ length: 10000 }, binX({ y: "count" }, { x: Math.random })).plot();
18 //const div = document.querySelector("#myplot");