@axdspub/axiom-charts 0.0.6 → 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 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
- and if already exists:
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() {