ml-time-graph 1.25.0 → 1.26.0
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/CHANGELOG.md +20 -0
- package/README.de.md +5 -0
- package/README.md +4 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +15 -15
- package/dist/interaction/index.js +2 -2
- package/dist/internals.d.ts +16 -4
- package/dist/internals.js +4 -4
- package/dist/{marker_renderer-Dph9cKDY.d.ts → marker_renderer-DYSAkVgI.d.ts} +29 -1
- package/dist/{types-B9bbJxmn.d.ts → types-RAg4hLZA.d.ts} +32 -3
- package/options.schema.json +15 -0
- package/package.json +1 -1
- package/skills/ml-time-graph/SKILL.md +2 -1
- package/skills/ml-time-graph/reference/axes.md +35 -0
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,26 @@ release notes, and every change is in `git log` in full.
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
+
## [1.26.0] - 2026-11-28
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **Logarithmic value axis** — `axes.left.scale: 'log'` with `min` as its lower edge
|
|
27
|
+
(I-TGRAF-20261128-01). Every power of ten gets the same height, so a light sensor's 2 lx at
|
|
28
|
+
dusk and 80,000 lx at noon are both readable. Readings below `min` — also 0 — are drawn on
|
|
29
|
+
the edge and `warnings()` counts them; without `min` the axis stays linear and `warnings()`
|
|
30
|
+
says why. Ticks sit on the decades, `ticks.minor` adds 2…9. Overlays and aggregates still
|
|
31
|
+
compute on the readings. TypeScript, Go, JSON; demo "Axes", manual chapter 4.
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- **Groundwork for a logarithmic value axis, no visible change** (I-TGRAF-20261128-01). The
|
|
36
|
+
value scale now has a *drawing value* (`zeichenwert` / `wert`, Go `Zeichenwert` / `Wert`),
|
|
37
|
+
and everything that computes geometry between two readings — where a line crosses a
|
|
38
|
+
threshold, where a fill follows another series, where a marker sits — computes in it. On a
|
|
39
|
+
linear axis the drawing value is the value itself; every chart without `scale: 'log'`
|
|
40
|
+
renders as before.
|
|
41
|
+
|
|
22
42
|
## [1.25.0] - 2026-11-22
|
|
23
43
|
|
|
24
44
|
### Added
|
package/README.de.md
CHANGED
|
@@ -282,6 +282,11 @@ werden und die nachträgliche Auswertung entscheidend ist.
|
|
|
282
282
|
- ❌ **High Performance** — für den Hauptanwendungsfall (Reporting, Analyse) nicht notwendig
|
|
283
283
|
- ❌ **Volle Interaktivität** — Zoom/Pan ja, aber in Grenzen
|
|
284
284
|
- ❌ GPU-Performance-Optimierungen o. Ä.
|
|
285
|
+
- ❌ **Balken- und Säulendiagramme** — eine Serie wird als `line`, `area` oder `step`
|
|
286
|
+
gezeichnet; einzelne Balken, Gruppieren und Stapeln gibt es nicht. Für Zählwerte je
|
|
287
|
+
Intervall (Nachrichten je 15 Minuten, Ereignisse je Stunde) nimm `seriesType: 'step'` mit
|
|
288
|
+
`style.fill`: das liest sich wie ein Histogramm und lässt sich bei mehreren Serien sauber
|
|
289
|
+
überlagern.
|
|
285
290
|
|
|
286
291
|
„Keine Performance-Bibliothek" heißt: kein GPU-Pfad, kein virtualisiertes Canvas. Es heißt
|
|
287
292
|
nicht, dass die Sache langsam wäre. Gemessen, damit niemand raten muss: Eine **Linie mit
|
package/README.md
CHANGED
|
@@ -277,6 +277,10 @@ after-the-fact evaluation is what matters.
|
|
|
277
277
|
- ❌ **High performance** — not needed for the main use case (reporting, analysis)
|
|
278
278
|
- ❌ **Full interactivity** — zoom/pan yes, but within limits
|
|
279
279
|
- ❌ GPU performance optimizations and the like
|
|
280
|
+
- ❌ **Bar and column charts** — a series is drawn as `line`, `area` or `step`; there are no
|
|
281
|
+
separate bars, no grouping and no stacking. For counts per interval (messages per
|
|
282
|
+
15 minutes, events per hour) use `seriesType: 'step'` with a `style.fill`: it reads like a
|
|
283
|
+
histogram and overlays cleanly when there are several series.
|
|
280
284
|
|
|
281
285
|
"Not a performance library" means there is no GPU path and no virtualized canvas — it does not
|
|
282
286
|
mean the thing is slow. Measured, so nobody has to guess: a **25,000-point line renders in
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { M as MLTimeGraphOptions, L as LegendItem, b as Margin, Y as YAxisConfig, A as AxesConfig, X as XAxisConfig, c as LegendOptions, d as LegendPosition, e as LegendOrientation, f as Marker, g as RenderOutput } from './marker_renderer-
|
|
1
|
+
import { M as MLTimeGraphOptions, L as LegendItem, b as Margin, Y as YAxisConfig, A as AxesConfig, X as XAxisConfig, c as LegendOptions, d as LegendPosition, e as LegendOrientation, f as Marker, g as RenderOutput } from './marker_renderer-DYSAkVgI.js';
|
|
2
2
|
import { Renderer, LayoutResult } from './internals.js';
|
|
3
|
-
export { h as AxisLabelsStyle, i as AxisStyle, G as GridLineStyle, j as GridStyle, T as TextMetrics, k as Theme, l as TickConfig, m as TickFormat, n as drawMarker, o as estimateMetrics, p as getDefaultTheme, q as liberationMetrics, r as resetDefaultTheme, s as setDefaultTheme, t as slugify } from './marker_renderer-
|
|
4
|
-
import {
|
|
3
|
+
export { h as AxisLabelsStyle, i as AxisStyle, G as GridLineStyle, j as GridStyle, T as TextMetrics, k as Theme, l as TickConfig, m as TickFormat, n as drawMarker, o as estimateMetrics, p as getDefaultTheme, q as liberationMetrics, r as resetDefaultTheme, s as setDefaultTheme, t as slugify } from './marker_renderer-DYSAkVgI.js';
|
|
4
|
+
import { f as AnySeries, j as Annotation, a as DrawCommand, h as Gap, i as GapsConfig, g as Threshold, H as Highlight, k as AnnotationBandConfig, m as SeriesStyle, c as LineVariant, S as SmoothingType, F as FillSpec, n as TimeSeries, b as LineDashStyle, o as ThresholdFill, l as HatchVariant, p as ThresholdLabelPosition, P as PointStyleType, M as MarkerLineStyle, R as RangeLabelPosition, q as AnnotationPointShape, r as LabelAnchor, s as AnnotationBandItem, t as TextBaseline, u as AggregatedPoint, v as AggregatedSeries, D as DataPoint } from './types-RAg4hLZA.js';
|
|
5
5
|
import { TimeScale, LinearScale } from './internals.js';
|
|
6
|
-
export {
|
|
6
|
+
export { w as AggregatedShowAs, x as AggregationConfig, y as AggregationMode, z as AnnotationBandLabels, B as AnnotationKind, C as AxisOrientation, A as AxisPosition, e as AxisScale, E as DataPointRef, I as EnumMap, J as FillBound, K as FillRegion, N as FillSide, O as FillStyle, Q as FillWhere, U as GapBand, V as GapConfig, W as GapLabel, X as GapRegion, Y as GapStyle, Z as GapsAtEnd, G as GridLayer, _ as LineShape, $ as LineStyle, a0 as MarkerStyle, a1 as MovingAverageType, a2 as SVGLineStyle, a3 as SensorType, a4 as SeriesGapStyle, a5 as SeriesGaps, a6 as SeriesLegend, a7 as SeriesOverlay, a8 as SeriesOverlayKind, a9 as SeriesType, aa as ShadowStyle, ab as SolidDashStyle, ac as ThresholdLabelConfig, ad as getLineStyle, ae as resolveDash } from './types-RAg4hLZA.js';
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
9
|
* MLTimeGraph — Copyright (c) 2026 Michael Lechner
|
|
@@ -1175,7 +1175,7 @@ declare function mergeOptions(...layers: (OptionsLayer | undefined)[]): MLTimeGr
|
|
|
1175
1175
|
* Monate spaeter eine Datei aus einem Stapel von Berichten in der Hand haelt,
|
|
1176
1176
|
* kann sonst nicht feststellen, welcher Stand sie gezeichnet hat.
|
|
1177
1177
|
*/
|
|
1178
|
-
declare const VERSION = "1.
|
|
1178
|
+
declare const VERSION = "1.26.0";
|
|
1179
1179
|
|
|
1180
1180
|
export { AggregatedPoint, AggregatedSeries, Annotation, AnnotationBandBuilder, AnnotationBandConfig, AnnotationBandItem, AnnotationBandItemBuilder, AnnotationBuilder, AnnotationPointShape, AnySeries, AxesConfig, DataPoint, DrawCommand, FillSpec, Gap, GapsConfig, GraphBuilder, HatchVariant, Highlight, HighlightBuilder, LabelAnchor, LegendItem, LegendOptions, LegendOrientation, LegendPosition, LineDashStyle, LineVariant, MLTimeGraph, MLTimeGraphOptions, Margin, Marker, MarkerBuilder, MarkerLineStyle, PointStyleType, RangeLabelPosition, RenderOutput, SVGRenderer, SeriesStyle, SmoothingType, TextBaseline, Threshold, ThresholdBuilder, ThresholdFill, ThresholdLabelPosition, TimeSeries, TimeSeriesBuilder, VERSION, XAxisConfig, YAxisConfig, attachTooltip, autoMargin, axisGroups, fillBetweenThresholds, mergeOptions, mount, parseAggregated, parseDataPoint, parseSeries, toDataPoints, toSeries, zeigerImSvg };
|
|
1181
1181
|
export type { AutoMarginOptions, AxisGroupInput, AxisGroups, FieldAccessor, FillBetweenThresholdsInput, LimitStatsPoint, MktPoint, OptionsLayer, PointAt, PointsAtOptions, StatsAggregatedPoint, StdDevPoint, TimeInput, ToDataPointsSpec, TooltipOptions, TooltipSample };
|