@barchart/chart-lib 2.366.1 → 2.367.4

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.
chart-lib/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
 
3
3
  <html lang="en">
4
4
  <head>
chart-lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/chart-lib",
3
- "version": "2.366.1",
3
+ "version": "2.367.4",
4
4
  "description": "Barchart HTML5 Streaming Chart",
5
5
  "main": "barchart.chart.js",
6
6
  "types": "barchart.chart.d.ts",
@@ -1488,6 +1488,10 @@
1488
1488
  "$ref": "#/definitions/curve"
1489
1489
  }
1490
1490
  },
1491
+ "uid": {
1492
+ "type": "string",
1493
+ "minLength": 1
1494
+ },
1491
1495
  "symbolType": {
1492
1496
  "type": "string",
1493
1497
  "pattern": "Symbol"
@@ -1509,6 +1513,9 @@
1509
1513
  "type": "boolean",
1510
1514
  "default": false
1511
1515
  },
1516
+ "uid": {
1517
+ "$ref": "#/definitions/uid"
1518
+ },
1512
1519
  "type": {
1513
1520
  "$ref": "#/definitions/symbolType"
1514
1521
  },
@@ -1522,12 +1529,15 @@
1522
1529
  "precision": {
1523
1530
  "$ref": "#/definitions/precision"
1524
1531
  },
1532
+ "detachedScale": {
1533
+ "type": "boolean"
1534
+ },
1525
1535
  "visible": {
1526
1536
  "type": "boolean",
1527
1537
  "default": true
1528
1538
  }
1529
1539
  },
1530
- "required": ["curves", "symbol", "type"]
1540
+ "required": ["uid", "curves", "symbol", "type"]
1531
1541
  },
1532
1542
  "fundamentalType": {
1533
1543
  "type": "string",
@@ -1547,18 +1557,24 @@
1547
1557
  "$ref": "#/definitions/fundamentalFrequency",
1548
1558
  "default": "Quarter"
1549
1559
  },
1560
+ "uid": {
1561
+ "$ref": "#/definitions/uid"
1562
+ },
1550
1563
  "type": {
1551
1564
  "$ref": "#/definitions/fundamentalType"
1552
1565
  },
1553
1566
  "precision": {
1554
1567
  "$ref": "#/definitions/precision"
1555
1568
  },
1569
+ "detachedScale": {
1570
+ "type": "boolean"
1571
+ },
1556
1572
  "visible": {
1557
1573
  "type": "boolean",
1558
1574
  "default": true
1559
1575
  }
1560
1576
  },
1561
- "required": ["curves", "symbol", "type"]
1577
+ "required": ["uid", "curves", "symbol", "type"]
1562
1578
  },
1563
1579
  "studyLevels": {
1564
1580
  "type": "array",
@@ -1609,6 +1625,44 @@
1609
1625
  "type": "string",
1610
1626
  "pattern": "Study"
1611
1627
  },
1628
+ "studyBasisMain": {
1629
+ "type": "object",
1630
+ "additionalProperties": false,
1631
+ "properties": {
1632
+ "kind": {
1633
+ "type": "string",
1634
+ "enum": ["main"]
1635
+ }
1636
+ },
1637
+ "required": ["kind"]
1638
+ },
1639
+ "studyBasisSeasonal": {
1640
+ "type": "object",
1641
+ "additionalProperties": false,
1642
+ "properties": {
1643
+ "kind": {
1644
+ "type": "string",
1645
+ "enum": ["seasonal"]
1646
+ },
1647
+ "uid": {
1648
+ "$ref": "#/definitions/uid"
1649
+ },
1650
+ "offset": {
1651
+ "type": "number"
1652
+ }
1653
+ },
1654
+ "required": ["kind", "uid", "offset"]
1655
+ },
1656
+ "studyBasis": {
1657
+ "oneOf": [
1658
+ {
1659
+ "$ref": "#/definitions/studyBasisMain"
1660
+ },
1661
+ {
1662
+ "$ref": "#/definitions/studyBasisSeasonal"
1663
+ }
1664
+ ]
1665
+ },
1612
1666
  "studyPlot": {
1613
1667
  "type": "object",
1614
1668
  "additionalProperties": false,
@@ -1617,12 +1671,17 @@
1617
1671
  "$ref": "#/definitions/curves"
1618
1672
  },
1619
1673
  "basis": {
1620
- "type": "string",
1621
- "default": "$main"
1674
+ "$ref": "#/definitions/studyBasis",
1675
+ "default": {
1676
+ "kind": "main"
1677
+ }
1622
1678
  },
1623
1679
  "study": {
1624
1680
  "$ref": "#/definitions/study"
1625
1681
  },
1682
+ "uid": {
1683
+ "$ref": "#/definitions/uid"
1684
+ },
1626
1685
  "source": {
1627
1686
  "$ref": "#/definitions/curveField"
1628
1687
  },
@@ -1649,7 +1708,7 @@
1649
1708
  "default": true
1650
1709
  }
1651
1710
  },
1652
- "required": ["study", "type"]
1711
+ "required": ["uid", "study", "type"]
1653
1712
  },
1654
1713
  "exprType": {
1655
1714
  "type": "string",
@@ -1675,6 +1734,9 @@
1675
1734
  "expression": {
1676
1735
  "type": "string"
1677
1736
  },
1737
+ "uid": {
1738
+ "$ref": "#/definitions/uid"
1739
+ },
1678
1740
  "type": {
1679
1741
  "$ref": "#/definitions/exprType"
1680
1742
  },
@@ -1685,12 +1747,15 @@
1685
1747
  "precision": {
1686
1748
  "$ref": "#/definitions/precision"
1687
1749
  },
1750
+ "detachedScale": {
1751
+ "type": "boolean"
1752
+ },
1688
1753
  "visible": {
1689
1754
  "type": "boolean",
1690
1755
  "default": true
1691
1756
  }
1692
1757
  },
1693
- "required": ["expression", "type"]
1758
+ "required": ["uid", "expression", "type"]
1694
1759
  },
1695
1760
  "forwardType": {
1696
1761
  "type": "string",
@@ -1731,6 +1796,9 @@
1731
1796
  "$ref": "#/definitions/intOffsets",
1732
1797
  "default": [0]
1733
1798
  },
1799
+ "uid": {
1800
+ "$ref": "#/definitions/uid"
1801
+ },
1734
1802
  "main": {
1735
1803
  "type": "boolean",
1736
1804
  "default": true
@@ -1741,12 +1809,15 @@
1741
1809
  "precision": {
1742
1810
  "$ref": "#/definitions/precision"
1743
1811
  },
1812
+ "detachedScale": {
1813
+ "type": "boolean"
1814
+ },
1744
1815
  "visible": {
1745
1816
  "type": "boolean",
1746
1817
  "default": true
1747
1818
  }
1748
1819
  },
1749
- "required": ["forward", "type"]
1820
+ "required": ["uid", "forward", "type"]
1750
1821
  },
1751
1822
  "seasonalType": {
1752
1823
  "type": "string",
@@ -1776,6 +1847,9 @@
1776
1847
  "$ref": "#/definitions/intOffsets",
1777
1848
  "default": [0]
1778
1849
  },
1850
+ "uid": {
1851
+ "$ref": "#/definitions/uid"
1852
+ },
1779
1853
  "main": {
1780
1854
  "type": "boolean",
1781
1855
  "default": true
@@ -1786,12 +1860,15 @@
1786
1860
  "precision": {
1787
1861
  "$ref": "#/definitions/precision"
1788
1862
  },
1863
+ "detachedScale": {
1864
+ "type": "boolean"
1865
+ },
1789
1866
  "visible": {
1790
1867
  "type": "boolean",
1791
1868
  "default": true
1792
1869
  }
1793
1870
  },
1794
- "required": ["seasonal", "type"]
1871
+ "required": ["uid", "seasonal", "type"]
1795
1872
  },
1796
1873
  "annPoint": {
1797
1874
  "type": "object",
@@ -1913,7 +1990,7 @@
1913
1990
  "$ref": "#/definitions/annId"
1914
1991
  },
1915
1992
  "uid": {
1916
- "type": "string"
1993
+ "$ref": "#/definitions/uid"
1917
1994
  },
1918
1995
  "visible": {
1919
1996
  "type": "boolean",
@@ -2056,7 +2133,7 @@
2056
2133
  },
2057
2134
  "version": {
2058
2135
  "type": "integer",
2059
- "minimum": 166,
2136
+ "minimum": 167,
2060
2137
  "multipleOf": 1
2061
2138
  }
2062
2139
  },
chart-lib/style.css CHANGED
@@ -117,7 +117,9 @@ html {
117
117
 
118
118
  .bubble-box {
119
119
  background-color: #272e32;
120
- box-shadow: 0px 0px 0px 1px #3a4850, 0px 2px 3px rgba(#000, 0.6);
120
+ box-shadow:
121
+ 0px 0px 0px 1px #3a4850,
122
+ 0px 2px 3px rgba(#000, 0.6);
121
123
  border-radius: 1px 1px 0 1px;
122
124
  padding: 8px 10px;
123
125
  line-height: 18px;