@pythia-software/query-table-ui 0.7.0 → 0.7.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.
package/README.md CHANGED
@@ -531,13 +531,32 @@ reserves only the tick gutter, allowing more width for data. Full charts retain
531
531
  their usual title placement. Metric loading uses an accessible spinner and
532
532
  respects reduced-motion preferences.
533
533
 
534
- Compact box plots label each row above its glyph and show its median. Each row
535
- uses an independent linear scale focused on its whiskers, omitting outlier
536
- markers. A visible guide explains that the box spans the middle 50%, the line
537
- marks the median, and scales differ between rows. Full statistics and outlier
538
- counts remain in accessible mark descriptions and the data table. Allow at least
539
- 52px per plotted row plus the guide; constrain the supplied bucket count when
540
- using a fixed-height cover. The default full chart retains its shared scale.
534
+ Compact box plots label each row above its glyph and show its median. All
535
+ visible rows share one axis spanning their full observed range, including
536
+ sampled outliers and true extremes. `display.xScale` selects linear or log
537
+ coordinates and retains explicit bounds; as in full charts, nonpositive boxes
538
+ are omitted on a log axis with a visible explanation. Allow about 30px per row,
539
+ 20px for the shared ticks, and room for the guide; constrain the supplied bucket
540
+ count when using a fixed-height cover.
541
+
542
+ Linear-interpolated quartiles in sparse samples can extend past the last
543
+ observed Tukey inlier. Visual whiskers meet the box edge in that case rather
544
+ than ending inside it. Hover retains the original quartiles, observed whisker
545
+ endpoints, full range, mean, sample count, and outlier count. Neither the
546
+ computation nor the returned summary is modified.
547
+
548
+ Tooltips include the hovered series color. Their hover/focus state is isolated
549
+ from plot construction, so moving between marks does not rebuild axes or
550
+ reformat chart labels. Escape dismisses the tooltip before reaching an enclosing
551
+ dialog. Compact histogram tooltips show the interval and its frequency; full
552
+ charts and data tables retain population and NULL counts.
553
+
554
+ Compact pie/ring legends in top/bottom positions use aligned category, value,
555
+ and share slots in two columns. Set `--qt-metric-legend-columns: 1` on the card
556
+ for a single column, or use the `MetricClassNames.legend` CSS hook. These are
557
+ host presentation choices and do not change the saved query or exact pie
558
+ denominator. Native SVG charts preserve the viewport aspect ratio, including
559
+ circular pie/ring geometry and circular scatter markers.
541
560
 
542
561
  ### Underline list bars
543
562
 
package/dist/index.d.ts CHANGED
@@ -300,7 +300,7 @@ interface MetricsPanelProps<Row> {
300
300
  }
301
301
  declare function MetricsPanel<Row>({ aggregations, api, onEditMetric, onEditDashboard, fields, renderers, emptyMessage, classNames, theme, locale, onInspect, }: MetricsPanelProps<Row>): ReactNode;
302
302
  interface MetricCardProps<Row> {
303
- /** Sparse cover axes and labelled box rows with independent whisker scales. */
303
+ /** Sparse cover axes and dense labelled box rows sharing one scale and observed extremes. */
304
304
  compact?: boolean | undefined;
305
305
  onEdit?: (() => void) | undefined;
306
306
  clause: RenderingClause;