@trdrs/quickcharts 5.6.0 → 5.6.1

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.
@@ -6815,16 +6815,16 @@
6815
6815
  border-color: var(--qc-control-onHover);
6816
6816
  }
6817
6817
 
6818
- /* The box at the top of the scale naming what its prices are in: at least 64x26, four pixels in from
6819
- * the scale's top and its side away from the plot, on the chart's background inside a 1px border
6820
- * with a radius of 4. Its words stand at the start of a 24px row inside the border, 3px in from
6821
- * each end on a radius of 3, in 12px text. It takes no pointer, so the scale under it still drags. */
6818
+ /* The box at the top of the scale naming what its prices are in: 26px tall and as wide as the scale
6819
+ * less four pixels on each side, four pixels below the scale's top, on the chart's background inside
6820
+ * a 1px border with a radius of 4. Its words stand at the start of a 24px row inside the border, 3px
6821
+ * in from each end on a radius of 3, in 12px text, and words too long for the scale end in an
6822
+ * ellipsis. It takes no pointer, so the scale under it still drags. */
6822
6823
  [data-qc-theme] .qc-scale-unit {
6823
6824
  position: absolute;
6824
6825
  z-index: 4;
6825
6826
  box-sizing: border-box;
6826
6827
  display: flex;
6827
- min-width: 64px;
6828
6828
  height: 26px;
6829
6829
  padding: 0;
6830
6830
  font-size: 12px;
@@ -6841,6 +6841,7 @@
6841
6841
  [data-qc-theme] .qc-scale-unit-row {
6842
6842
  display: flex;
6843
6843
  flex: 1 1 auto;
6844
+ min-width: 0;
6844
6845
  height: 24px;
6845
6846
  align-items: center;
6846
6847
  justify-content: space-between;
@@ -6849,6 +6850,12 @@
6849
6850
  border-radius: 3px;
6850
6851
  }
6851
6852
 
6853
+ [data-qc-theme] .qc-scale-unit-text {
6854
+ min-width: 0;
6855
+ overflow: hidden;
6856
+ text-overflow: ellipsis;
6857
+ }
6858
+
6852
6859
  /* With the host's door the box is a button that opens the host's menu: it keeps the box's size, type
6853
6860
  * and outline, takes the pointer, and ends its row in a 7x5 caret. The row lights under the pointer,
6854
6861
  * while pressed and while the menu stands open, and the caret turns over while it is open. The chrome
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trdrs/quickcharts",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "description": "Quick Charts: a datafeed-driven charting library with drawings, indicators, layouts and replay over host-supplied data and storage ports.",
5
5
  "keywords": [
6
6
  "charts",