@axdspub/axiom-charts 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/library/Libraries/axiom/index.js +30 -0
- package/library/Libraries/axiom/index.js.map +1 -1
- package/library/axiom-charts.d.ts +4 -1
- package/library/browser.js +9 -0
- package/library/browser.js.map +1 -1
- package/library/cjs.js +9 -0
- package/library/cjs.js.map +1 -1
- package/library/index.js +9 -1
- package/library/index.js.map +1 -1
- package/package.json +4 -3
- package/rollup.config.mjs +11 -2
- package/.dockerignore +0 -4
- package/docker/nginx/conf.d/default.conf +0 -46
- package/library/Libraries/axiom/assets/index-ff7df1e3.css +0 -19
- package/yalc.lock +0 -10
package/README.md
CHANGED
|
@@ -12,13 +12,18 @@ Then
|
|
|
12
12
|
|
|
13
13
|
`yalc publish`
|
|
14
14
|
|
|
15
|
+
To update linked projects
|
|
16
|
+
|
|
17
|
+
`yalc push`
|
|
18
|
+
|
|
15
19
|
In consuming project:
|
|
16
20
|
|
|
17
21
|
`yalc add @axdspub/axiom-ui-data-services`
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
then
|
|
24
|
+
|
|
25
|
+
`yalc link @axdspub/axiom-ui-data-services`
|
|
20
26
|
|
|
21
|
-
`yalc update @axdspub/axiom-ui-data-services`
|
|
22
27
|
|
|
23
28
|
# Publish
|
|
24
29
|
|
|
@@ -832,6 +832,36 @@ var chartTypes = {
|
|
|
832
832
|
Scatter: AxiomScatter
|
|
833
833
|
};
|
|
834
834
|
|
|
835
|
+
function styleInject(css, ref) {
|
|
836
|
+
if ( ref === void 0 ) ref = {};
|
|
837
|
+
var insertAt = ref.insertAt;
|
|
838
|
+
|
|
839
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
840
|
+
|
|
841
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
842
|
+
var style = document.createElement('style');
|
|
843
|
+
style.type = 'text/css';
|
|
844
|
+
|
|
845
|
+
if (insertAt === 'top') {
|
|
846
|
+
if (head.firstChild) {
|
|
847
|
+
head.insertBefore(style, head.firstChild);
|
|
848
|
+
} else {
|
|
849
|
+
head.appendChild(style);
|
|
850
|
+
}
|
|
851
|
+
} else {
|
|
852
|
+
head.appendChild(style);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
if (style.styleSheet) {
|
|
856
|
+
style.styleSheet.cssText = css;
|
|
857
|
+
} else {
|
|
858
|
+
style.appendChild(document.createTextNode(css));
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
var css_248z = ".chart .axis .tick text{\r\n fill:#333;\r\n font-size:12px;\r\n}\r\n\r\n.chart .y-axis .radial-axis .tick text{\r\n stroke:#FFF;\r\n stroke-width:5px;\r\n paint-order: stroke;\r\n font-size:14px;\r\n fill:#000;\r\n\r\n}\r\n\r\n.chart .axis .tick line,\r\n.chart .axis .tick circle{\r\n stroke:#CCC;\r\n stroke-width:.5px;\r\n}";
|
|
863
|
+
styleInject(css_248z);
|
|
864
|
+
|
|
835
865
|
var AxiomChart = /** @class */ (function (_super) {
|
|
836
866
|
__extends(AxiomChart, _super);
|
|
837
867
|
function AxiomChart() {
|