ml-time-graph 1.9.0 → 1.10.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.
@@ -11,6 +11,98 @@ interface DrawEffects {
11
11
  shadowOffsetY?: number;
12
12
  }
13
13
 
14
+ /*!
15
+ * MLTimeGraph — Copyright (c) 2026 Michael Lechner
16
+ * MIT with Attribution: free use incl. commercial requires visible credit to
17
+ * "Michael Lechner". Commercial license (no attribution) on request. See LICENSE.
18
+ */
19
+ /** Point marker style — unified for series points, annotations, and markers. */
20
+ type PointStyleType = "none" | "circle" | "cross" | "square" | "diamond" | "triangle" | "star" | "arrow" | "plus" | "triangle-down" | "hexagon" | "hourglass" | "line-horizontal";
21
+ /** Chart series type (determines which renderer pipeline is used). */
22
+ type SeriesType = "line" | "area" | "step";
23
+ /** Line dashes style. 'none' means the line is not drawn at all. */
24
+ type LineDashStyle = "solid" | "dashed" | "dotted" | "none";
25
+ /** Side of a threshold or value for fill rendering. */
26
+ type FillSide = "above" | "below";
27
+ /** Axis orientation: vertical (left/right Y-axis) or horizontal (bottom X-axis). */
28
+ type AxisOrientation = "vertical" | "horizontal";
29
+ /** Vertical axis placement. */
30
+ type AxisPosition = "left" | "right";
31
+ /**
32
+ * Waagerechte Textausrichtung -- `text-anchor` im SVG.
33
+ *
34
+ * Steht hier EINMAL, weil die Union sonst an sieben Stellen ausgeschrieben
35
+ * stuende: in den Optionen, in den Zeichenbefehlen, in den Buildern und in den
36
+ * Renderern. Jede Kopie ist eine Stelle, an der eine kuenftige vierte
37
+ * Ausrichtung vergessen wird.
38
+ */
39
+ type LabelAnchor = "start" | "middle" | "end";
40
+ /**
41
+ * Senkrechte Textausrichtung -- `dominant-baseline` im SVG.
42
+ *
43
+ * "middle" zentriert auf der Grundlinie, "top" setzt den Text darunter,
44
+ * "bottom" darueber.
45
+ */
46
+ type TextBaseline = "top" | "middle" | "bottom";
47
+ /**
48
+ * Wie weit die senkrechte Linie eines Markers reicht.
49
+ *
50
+ * `full` ueber die ganze Zeichenflaeche, `to-value` bis zum Messwert der
51
+ * Zielreihe, `to-top` von dort nach oben, `none` gar nicht (dann bleibt der
52
+ * Punkt und die Beschriftung).
53
+ */
54
+ type MarkerLineStyle = "full" | "to-value" | "to-top" | "none";
55
+ /**
56
+ * Wie eine Luecke im ZEICHENBEFEHL erscheint.
57
+ *
58
+ * `bridge_line` steht hier bewusst NICHT: Die Bruecke ist eine Linie zwischen
59
+ * zwei Punkten, kein Feld -- MLTimeGraph loest sie vorher auf (`style:
60
+ * display === "bridge_line" ? undefined : display`). Was der Aufrufer bestellen
61
+ * kann, steht in GapStyle.display und hat einen Wert mehr.
62
+ */
63
+ type DrawGapType_t$1 = "dashed_border" | "empty" | "filled" | "label";
64
+ /**
65
+ * Verlauf einer Linie zwischen zwei Punkten: gerade oder als Treppe.
66
+ *
67
+ * Teilmenge von SeriesType -- "area" ist keine Linienform, sondern eine
68
+ * Fuellung.
69
+ */
70
+ type LineShape = "line" | "step";
71
+ /**
72
+ * Wann das Gitter gezeichnet wird: hinter den Daten oder darueber.
73
+ *
74
+ * "front" ist die Vorgabe und das Verhalten, das die Bibliothek immer hatte.
75
+ */
76
+ type GridLayer = "back" | "front";
77
+ /**
78
+ * Wie eine geglaettete Linie von Punkt zu Punkt laeuft.
79
+ *
80
+ * "catmull-rom" ist die Vorgabe: weich, aber sie schwingt ueber. "monotone"
81
+ * (Fritsch-Carlson) bleibt zwischen zwei Messwerten garantiert dazwischen --
82
+ * fuer alles mit einem Anschlag. "akima" bleibt vor einer Kante ruhig, statt
83
+ * ihr entgegenzuschwingen -- fuer Sensoren, die nur bei Aenderung funken.
84
+ */
85
+ type SmoothingType = "catmull-rom" | "monotone" | "akima";
86
+ /** Form eines freien Annotations-Punktes. */
87
+ type AnnotationPointShape = "circle" | "square" | "cross";
88
+ /** Art einer freien Annotation. */
89
+ type AnnotationKind = "line" | "arrow" | "rect" | "point" | "label";
90
+ /** Welche Haelfte ein Schwellenwert fuellt -- oder keine. */
91
+ type ThresholdFill = "above" | "below" | "none";
92
+ /** Rechenart des gleitenden Mittelwerts. */
93
+ type MovingAverageType = "simple" | "exponential";
94
+ /** Darstellung einer aggregierten Reihe. */
95
+ type AggregatedShowAs = "band" | "minmaxavg";
96
+ /**
97
+ * Strichart OHNE "none".
98
+ *
99
+ * Wo eine Linie bereits feststeht -- der Rand einer Luecke, die Linie eines
100
+ * Schwellenwerts im Renderer -- gibt es kein "gar nicht". Als Exclude
101
+ * geschrieben, damit die Verwandtschaft zu LineDashStyle im Typ steht und eine
102
+ * kuenftige fuenfte Strichart hier von selbst ankommt.
103
+ */
104
+ type SolidDashStyle = Exclude<LineDashStyle, "none">;
105
+
14
106
  /*!
15
107
  * MLTimeGraph — Copyright (c) 2026 Michael Lechner
16
108
  * MIT with Attribution: free use incl. commercial requires visible credit to
@@ -59,6 +151,23 @@ declare function resolveDash(variant: LineVariant | undefined, strokeWidth?: num
59
151
  */
60
152
  declare function getLineStyle(variant: LineVariant, strokeWidth?: number): SVGLineStyle;
61
153
 
154
+ /*!
155
+ * MLTimeGraph — Copyright (c) 2026 Michael Lechner
156
+ * MIT with Attribution: free use incl. commercial requires visible credit to
157
+ * "Michael Lechner". Commercial license (no attribution) on request. See LICENSE.
158
+ */
159
+ /** All available hatch and pattern variants. */
160
+ type HatchVariant = "none" | "classic-diagonal" | "dense-steep" | "crosshatch" | "dots" | "waves" | "dashed" | "herringbone" | "brick" | "double-stripe" | "honeycomb";
161
+ /**
162
+ * Produce an SVG `<pattern>` element for the given variant.
163
+ * @param id DOM id to reference the pattern from `fill="url(#id)"`.
164
+ * @param variant Visual pattern kind (default `classic-diagonal`).
165
+ * @param fillcolor Pattern background colour (default a light steel-blue).
166
+ * @param linecolor Foreground stroke colour for the pattern shapes.
167
+ * @param strokewidth Stroke width in user units (scales with the pattern).
168
+ */
169
+ declare function getHatch(id: string, variant?: HatchVariant, fillcolor?: string, linecolor?: string, strokewidth?: number): string;
170
+
62
171
  /**
63
172
  * Stroke pattern for path / line draw commands. Widened to {@link LineVariant}
64
173
  * in Phase 2 (was: `'dashed' | 'dotted'`). The legacy values still work; the
@@ -67,6 +176,7 @@ declare function getLineStyle(variant: LineVariant, strokeWidth?: number): SVGLi
67
176
  * proportionally to the stroke width.
68
177
  */
69
178
  type Dashstyle_t = LineVariant;
179
+
70
180
  interface DrawPath extends DrawEffects {
71
181
  type: "path";
72
182
  points: Point[];
@@ -82,6 +192,11 @@ interface DrawPath extends DrawEffects {
82
192
  */
83
193
  cssClass?: string;
84
194
  smoothing?: boolean;
195
+ /**
196
+ * Which spline to use when `smoothing` is on. Default `'catmull-rom'`,
197
+ * which is how every chart before 1.10.0 was drawn.
198
+ */
199
+ smoothingType?: SmoothingType;
85
200
  /**
86
201
  * When `smoothing` is enabled, only apply the Catmull-Rom spline to the
87
202
  * first `smoothCount` points; the remaining points connect with straight
@@ -103,7 +218,7 @@ interface DrawPath extends DrawEffects {
103
218
  stroke?: string;
104
219
  strokeWidth?: number;
105
220
  fill?: string;
106
- hatch?: string;
221
+ hatch?: HatchVariant;
107
222
  dashed?: boolean;
108
223
  /** Dash style; overrides `dashed`. */
109
224
  dash?: Dashstyle_t;
@@ -133,7 +248,7 @@ interface DrawRect extends DrawEffects {
133
248
  w: number;
134
249
  h: number;
135
250
  fill?: string;
136
- hatch?: string;
251
+ hatch?: HatchVariant;
137
252
  stroke?: string;
138
253
  strokeWidth?: number;
139
254
  opacity?: number;
@@ -153,7 +268,7 @@ interface DrawCircle extends DrawEffects {
153
268
  cy: number;
154
269
  r: number;
155
270
  fill?: string;
156
- hatch?: string;
271
+ hatch?: HatchVariant;
157
272
  stroke?: string;
158
273
  strokeWidth?: number;
159
274
  /** Optional SVG `id` attribute for this element. */
@@ -164,7 +279,7 @@ interface DrawText {
164
279
  content: string;
165
280
  x: number;
166
281
  y: number;
167
- anchor?: string;
282
+ anchor?: LabelAnchor;
168
283
  fontSize?: number;
169
284
  fontFamily?: string;
170
285
  fill?: string;
@@ -178,18 +293,18 @@ interface DrawText {
178
293
  * auf "auto" zurueck. Der Go-Port reicht sie genauso durch; eine echte
179
294
  * Abbildung (top -> text-top, bottom -> text-bottom) waere eine Aenderung
180
295
  * in beiden Bibliotheken samt neuer Go-Golden. */
181
- textBaseline?: "top" | "middle" | "bottom";
296
+ textBaseline?: TextBaseline;
182
297
  /** Optional SVG `id` attribute for this element. */
183
298
  id?: string;
184
299
  }
185
- type DrawGapType_t$1 = "dashed_border" | "empty" | "filled" | "label";
300
+ type DrawGapType_t = "dashed_border" | "empty" | "filled" | "label";
186
301
  interface DrawGap {
187
302
  type: "gap";
188
303
  x1: number;
189
304
  y1: number;
190
305
  x2: number;
191
306
  y2: number;
192
- style: DrawGapType_t$1;
307
+ style: DrawGapType_t;
193
308
  label?: string;
194
309
  /** Optional SVG `id` attribute for this element. */
195
310
  id?: string;
@@ -222,41 +337,31 @@ type TextParams = Omit<DrawText, "type">;
222
337
  * MIT with Attribution: free use incl. commercial requires visible credit to
223
338
  * "Michael Lechner". Commercial license (no attribution) on request. See LICENSE.
224
339
  */
225
- /** Point marker style — unified for series points, annotations, and markers. */
226
- type PointStyleType = "none" | "circle" | "cross" | "square" | "diamond" | "triangle" | "star" | "arrow" | "plus" | "triangle-down" | "hexagon" | "hourglass" | "line-horizontal";
227
- /** Chart series type (determines which renderer pipeline is used). */
228
- type SeriesType = "line" | "area" | "step";
229
- /** Line dashes style. 'none' means the line is not drawn at all. */
230
- type LineDashStyle = "solid" | "dashed" | "dotted" | "none";
231
- /** Direction for zoned fills relative to the line. */
232
- type FillDirectionType = "toMin" | "toMax";
233
- /** Side of a threshold or value for fill rendering. */
234
- type FillSide = "above" | "below";
235
- /** Axis orientation: vertical (left/right Y-axis) or horizontal (bottom X-axis). */
236
- type AxisOrientation = "vertical" | "horizontal";
237
- /** Vertical axis placement. */
238
- type AxisPosition = "left" | "right";
239
- /** Text anchor alignment. */
240
- type LabelAnchor = "start" | "middle" | "end";
241
- /** Gap rendering style. */
242
- type DrawGapType_t = "dashed_border" | "empty" | "filled" | "label";
243
-
244
- /*!
245
- * MLTimeGraph — Copyright (c) 2026 Michael Lechner
246
- * MIT with Attribution: free use incl. commercial requires visible credit to
247
- * "Michael Lechner". Commercial license (no attribution) on request. See LICENSE.
248
- */
249
- /** All available hatch and pattern variants. */
250
- type HatchVariant = "none" | "classic-diagonal" | "dense-steep" | "crosshatch" | "dots" | "waves" | "dashed" | "herringbone" | "brick" | "double-stripe" | "honeycomb";
251
340
  /**
252
- * Produce an SVG `<pattern>` element for the given variant.
253
- * @param id DOM id to reference the pattern from `fill="url(#id)"`.
254
- * @param variant Visual pattern kind (default `classic-diagonal`).
255
- * @param fillcolor Pattern background colour (default a light steel-blue).
256
- * @param linecolor Foreground stroke colour for the pattern shapes.
257
- * @param strokewidth Stroke width in user units (scales with the pattern).
341
+ * Wo die Beschriftung eines Zeitbereichs sitzt — Highlight wie Datenluecke.
342
+ *
343
+ * Fuenf Werte, und die Unterscheidung ist der ganze Punkt:
344
+ *
345
+ * - `top` / `center` / `bottom` liegen INNERHALB der Zeichenflaeche. Sie
346
+ * brauchen keinen Rand und koennen die Kurve ueberdecken.
347
+ * - `above` / `below` liegen im Rand DES BILDES — oben ueber der Flaeche,
348
+ * unten unter der Zeitachse. Sie ueberdecken nie Daten, brauchen dafuer
349
+ * aber Platz: `margin.top` bzw. `margin.bottom`.
350
+ *
351
+ * `below` rechnet deshalb von der Gesamthoehe her, nicht von der Unterkante
352
+ * der Zeichenflaeche. Ohne diese Zahl gibt es keinen unteren Rand, in den die
353
+ * Schrift gehoeren koennte, und der Aufrufer bekaeme Text ausserhalb des SVG —
354
+ * sichtbar in keinem Betrachter, aber vorhanden in jeder Datei.
355
+ *
356
+ * `middle` ist der alte Name der Datenluecken fuer `center` und bleibt
357
+ * gueltig: Ein Name, der einmal in einer Datei stand, verschwindet nicht,
358
+ * weil zwei Bauteile sich auf eine gemeinsame Schreibweise einigen.
359
+ *
360
+ * Dieselben Zahlen stehen im Go-Port (pkg/renderer/range_label.go). Laufen sie
361
+ * auseinander, sitzt dieselbe Beschriftung im Browser und auf dem Server
362
+ * verschieden hoch.
258
363
  */
259
- declare function getHatch(id: string, variant?: HatchVariant, fillcolor?: string, linecolor?: string, strokewidth?: number): string;
364
+ type RangeLabelPosition = "top" | "center" | "middle" | "bottom" | "above" | "below";
260
365
 
261
366
  /*!
262
367
  * MLTimeGraph — Copyright (c) 2026 Michael Lechner
@@ -268,15 +373,13 @@ declare function getHatch(id: string, variant?: HatchVariant, fillcolor?: string
268
373
  * A fill description. Three shapes:
269
374
  * - `string` — plain colour (`'#ef444433'` or `'rgba(…)'`)
270
375
  * - `{ color }` — explicit colour
271
- * - `{ color, hatch, hatchColor?, hatchWidth? }` — colour + hatch pattern
376
+ * - `{ color, hatch }` — colour + hatch pattern
272
377
  *
273
378
  * Where the fill is applied is described by {@link FillRegion}, not by `FillStyle`.
274
379
  */
275
380
  type FillStyle = string | {
276
381
  color: string;
277
382
  hatch?: HatchVariant;
278
- hatchColor?: string;
279
- hatchWidth?: number;
280
383
  };
281
384
  /** Vertical boundary of a fill region. */
282
385
  type FillBound = "series" | "chartTop" | "chartBottom" | {
@@ -308,7 +411,7 @@ interface FillRegion {
308
411
  /** The fill itself. */
309
412
  fill: FillStyle;
310
413
  /** Only fill on one side of the `from`/`to` transition. */
311
- side?: "above" | "below";
414
+ side?: FillSide;
312
415
  /**
313
416
  * Optional outer gate. With `side` set and exactly one bound being
314
417
  * `'series'`, the region renders only in X-spans where the line's value
@@ -344,7 +447,7 @@ interface GapLabel {
344
447
  * `'above'` | `'below'` sit in the margin around it and never cover data —
345
448
  * but they need `margin.top` / `margin.bottom` to have somewhere to go.
346
449
  */
347
- baseline?: "top" | "center" | "middle" | "bottom" | "above" | "below";
450
+ baseline?: RangeLabelPosition;
348
451
  rotate?: number;
349
452
  color?: string;
350
453
  fontSize?: number;
@@ -385,7 +488,7 @@ interface GapStyle {
385
488
  color?: string;
386
489
  width?: number;
387
490
  /** Default `'dotted'`. */
388
- style?: "solid" | "dotted" | "dashed";
491
+ style?: SolidDashStyle;
389
492
  };
390
493
  }
391
494
  /** A manually-declared gap region. */
@@ -410,8 +513,6 @@ interface GapsConfig {
410
513
  */
411
514
 
412
515
  /** Line styling for a series. All fields optional; defaults come from the theme. */
413
- /** Linienform: gerade Strecken oder Treppe. */
414
- type LineShape = "line" | "step";
415
516
  interface LineStyle {
416
517
  /** Stroke colour. */
417
518
  color?: string;
@@ -419,8 +520,10 @@ interface LineStyle {
419
520
  width?: number;
420
521
  /** Stroke variant (`solid` / `dashed` / `dotted` / …). */
421
522
  style?: LineVariant;
422
- /** Catmull-Rom smoothing. */
523
+ /** Curve smoothing. The spline is `smoothingType`; by default Catmull-Rom. */
423
524
  smoothing?: boolean;
525
+ /** Which spline when `smoothing` is on. Default `"catmull-rom"`. */
526
+ smoothingType?: SmoothingType;
424
527
  /**
425
528
  * Line shape — `line` (Default) or `step` (Treppe).
426
529
  *
@@ -503,7 +606,7 @@ interface SeriesStyle {
503
606
  type SeriesOverlay = {
504
607
  kind: "movingAverage";
505
608
  window: number;
506
- type?: "simple" | "exponential";
609
+ type?: MovingAverageType;
507
610
  style?: SeriesStyle;
508
611
  } | {
509
612
  kind: "movingMkt";
@@ -539,14 +642,16 @@ interface DataPoint {
539
642
  /** Optional annotation text. */
540
643
  annotation?: string;
541
644
  /**
542
- * Synthetic point — not a real measurement. Set automatically by the
543
- * `SeriesProcessor` on interpolated points (threshold intersections, gap
544
- * edges), but can also be set manually for computed helper points (e.g. a
545
- * trend line over interpolated values).
645
+ * Synthetic point — not a real measurement. Set on points the library
646
+ * computes itself: the intersections where a line crosses a threshold, and
647
+ * the edges of a gap. You may set it yourself on helper points.
546
648
  *
547
- * Renderer consequences: no point marker, no tooltip snap, no entry in the
548
- * value table. Scales (Y min/max) still count the point, otherwise the line
549
- * geometry would be distorted. Defaults to `undefined` = real measurement.
649
+ * **The renderer does not act on it.** Until 1.10.0 this doc promised three
650
+ * consequences — no marker, no tooltip snap, no row in the value table — and
651
+ * none of them was ever implemented, in either library. It is a marker for
652
+ * whoever reads the processed data (a table beside the chart, a consumer of
653
+ * the draw commands), not an instruction to the renderer. Saying so is worth
654
+ * more than a promise nobody kept.
550
655
  */
551
656
  synthetic?: boolean;
552
657
  }
@@ -573,6 +678,11 @@ interface EnumMap {
573
678
  interface TimeSeries {
574
679
  name: string;
575
680
  data: DataPoint[];
681
+ /**
682
+ * Art der Messgroesse. Der Daten-Adapter (`parseJSON`) liest sie und legt
683
+ * sie ab; auf das BILD wirkt sie nicht -- die Darstellung bestimmen `style`
684
+ * und `showAs`. Vorgabe: 'numeric'.
685
+ */
576
686
  sensorType?: SensorType;
577
687
  enumMap?: EnumMap;
578
688
  /**
@@ -599,7 +709,7 @@ interface AggregatedSeries {
599
709
  name: string;
600
710
  data: AggregatedPoint[];
601
711
  /** 'band' = filled rectangle per slot; 'minmaxavg' = min/max/avg lines + optional fill */
602
- showAs?: "band" | "minmaxavg";
712
+ showAs?: AggregatedShowAs;
603
713
  yAxisIndex?: number;
604
714
  avgLine?: boolean;
605
715
  countOpacity?: boolean;
@@ -640,9 +750,9 @@ interface Gap {
640
750
  hatch?: HatchVariant;
641
751
  fillOpacity?: number;
642
752
  /** Same five values as a highlight's `labelPosition` — see `core/range_label.ts`. */
643
- labelBaseline?: "top" | "center" | "middle" | "bottom" | "above" | "below";
753
+ labelBaseline?: RangeLabelPosition;
644
754
  rotate?: number;
645
- style?: DrawGapType_t$1;
755
+ style?: DrawGapType_t;
646
756
  }
647
757
  /** Configuration for gap rendering (manual or auto-detected) */
648
758
  interface GapConfig {
@@ -673,7 +783,7 @@ interface ThresholdLabelConfig {
673
783
  /** Rotation in degrees (default: none). */
674
784
  rotate?: number;
675
785
  /** Text vertical alignment: 'top', 'middle' (default), or 'bottom'. */
676
- textBaseline?: "top" | "middle" | "bottom";
786
+ textBaseline?: TextBaseline;
677
787
  }
678
788
  /**
679
789
  * A named value boundary. It can be drawn (line / half-plane fill / label) and
@@ -683,10 +793,15 @@ interface Threshold {
683
793
  name: string;
684
794
  value: number;
685
795
  color?: string;
686
- line?: "solid" | "dashed" | "dotted" | "none";
687
- fill?: "above" | "below" | "none";
796
+ line?: LineDashStyle;
797
+ fill?: ThresholdFill;
688
798
  fillHatch?: HatchVariant;
689
799
  fillOpacity?: number;
800
+ /**
801
+ * Caption on the line. Omit it and there is NO caption: since 1.4.0 the
802
+ * `name` is an identifier (`fill.regions` looks the threshold up by it), not
803
+ * something to print. Pass a string, or an object to place it.
804
+ */
690
805
  label?: false | string | ThresholdLabelConfig;
691
806
  /**
692
807
  * Which Y-axis this threshold's `value` is on. Default 0 (left).
@@ -713,7 +828,7 @@ interface Highlight {
713
828
  * the highlighted band; 'above' / 'below' place it outside the plot area
714
829
  * (in the top margin / below the x-axis) so it never overlaps the data.
715
830
  */
716
- labelPosition?: "top" | "center" | "bottom" | "above" | "below";
831
+ labelPosition?: RangeLabelPosition;
717
832
  rotate?: number;
718
833
  }
719
834
  /** A point in data coordinates. `axis` selects the y-scale (0 = left, 1 = right). */
@@ -762,13 +877,13 @@ type Annotation = {
762
877
  at: DataPointRef;
763
878
  color?: string;
764
879
  radius?: number;
765
- shape?: "circle" | "square" | "cross";
880
+ shape?: AnnotationPointShape;
766
881
  } | {
767
882
  type: "label";
768
883
  at: DataPointRef;
769
884
  text: string;
770
885
  color?: string;
771
- anchor?: "start" | "middle" | "end";
886
+ anchor?: LabelAnchor;
772
887
  dx?: number;
773
888
  dy?: number;
774
889
  rotate?: number;
@@ -805,7 +920,7 @@ interface AnnotationBandItem {
805
920
  /**
806
921
  * Label vertical position: 'top', 'middle' (default), or 'bottom' inside the band.
807
922
  */
808
- labelBaseline?: "top" | "middle" | "bottom";
923
+ labelBaseline?: TextBaseline;
809
924
  /**
810
925
  * Hover tooltip of the segment (SVG `<title>`). Use it for the detail that does not
811
926
  * fit as a printed label — the full event id, exact times, a duration.
@@ -938,4 +1053,4 @@ declare class BandScale implements Scale {
938
1053
  positions(): Map<string, number>;
939
1054
  }
940
1055
 
941
- export { type DomainScaleConfig as $, type AnySeries as A, type SVGLineStyle as B, type SensorType as C, type DrawCommand as D, type EnumMap as E, type FillSpec as F, type Gap as G, type Highlight as H, type SeriesOverlay as I, type SeriesOverlayKind as J, type SeriesType as K, type LineVariant as L, type MarkerStyle as M, type ShadowStyle as N, type ThresholdLabelConfig as O, type PointStyleType as P, getLineStyle as Q, resolveDash as R, type SeriesStyle as S, type Threshold as T, type Point as U, BandScale as V, type AxisOrientation as W, type AxisPosition as X, type BandScaleConfig as Y, type CircleParams as Z, type Dashstyle_t as _, type GapsConfig as a, type DrawCircle as a0, type DrawGap as a1, type DrawGapType_t as a2, type DrawGroup as a3, type DrawLine as a4, type DrawPath as a5, type DrawRect as a6, type DrawText as a7, type LabelAnchor as a8, type LineParams as a9, type LinearScaleConfig as aa, type PathParams as ab, type RectParams as ac, type Scale as ad, type ScaleConfig as ae, TIME_INTERVALS as af, type TextParams as ag, type TimeScaleConfig as ah, getHatch as ai, type Annotation as b, type AnnotationBandConfig as c, TimeScale as d, LinearScale as e, type TimeSeries as f, type HatchVariant as g, type ThresholdLabelPosition as h, type AnnotationBandItem as i, type AggregatedPoint as j, type AggregatedSeries as k, type DataPoint as l, type AggregationConfig as m, type AggregationMode as n, type DataPointRef as o, type FillBound as p, type FillDirectionType as q, type FillRegion as r, type FillSide as s, type FillStyle as t, type GapConfig as u, type GapLabel as v, type GapRegion as w, type GapStyle as x, type LineDashStyle as y, type LineStyle as z };
1056
+ export { type SeriesOverlay as $, type AxisPosition as A, type DataPointRef as B, type FillBound as C, type DataPoint as D, type EnumMap as E, type FillSpec as F, type GridLayer as G, type HatchVariant as H, type FillRegion as I, type FillSide as J, type FillStyle as K, LinearScale as L, type MarkerLineStyle as M, type GapConfig as N, type GapLabel as O, type PointStyleType as P, type GapRegion as Q, type RangeLabelPosition as R, type SmoothingType as S, TimeScale as T, type GapStyle as U, type LineShape as V, type LineStyle as W, type MarkerStyle as X, type MovingAverageType as Y, type SVGLineStyle as Z, type SensorType as _, type DrawCommand as a, type SeriesOverlayKind as a0, type SeriesType as a1, type ShadowStyle as a2, type SolidDashStyle as a3, type ThresholdLabelConfig as a4, getLineStyle as a5, resolveDash as a6, type Point as a7, BandScale as a8, type BandScaleConfig as a9, type CircleParams as aa, type Dashstyle_t as ab, type DomainScaleConfig as ac, type DrawCircle as ad, type DrawGap as ae, type DrawGapType_t$1 as af, type DrawLine as ag, type DrawPath as ah, type DrawRect as ai, type DrawText as aj, type LineParams as ak, type LinearScaleConfig as al, type PathParams as am, type RectParams as an, type Scale as ao, type ScaleConfig as ap, TIME_INTERVALS as aq, type TextParams as ar, type TimeScaleConfig as as, getHatch as at, type LineVariant as b, type DrawGroup as c, type AnySeries as d, type Threshold as e, type Highlight as f, type Gap as g, type GapsConfig as h, type Annotation as i, type AnnotationBandConfig as j, type SeriesStyle as k, type TimeSeries as l, type LineDashStyle as m, type ThresholdFill as n, type ThresholdLabelPosition as o, type AnnotationPointShape as p, type LabelAnchor as q, type AnnotationBandItem as r, type TextBaseline as s, type AggregatedPoint as t, type AggregatedSeries as u, type AggregatedShowAs as v, type AggregationConfig as w, type AggregationMode as x, type AnnotationKind as y, type AxisOrientation as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ml-time-graph",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "TypeScript library for time-series charts with rich contextual annotation — telemetry, sensors, metrics, logs, finance. DOM-free SVG output, identical in the browser and on the server.",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",