ml-time-graph 1.5.0 → 1.5.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.
Files changed (2) hide show
  1. package/USAGE.md +5 -0
  2. package/package.json +1 -1
package/USAGE.md CHANGED
@@ -289,6 +289,11 @@ new MLTimeGraph({
289
289
  });
290
290
  ```
291
291
 
292
+ **A grid is drawn only when you ask for one.** Set `grid: { major: {} }` on either axis and
293
+ both get one; leave it out and there is none. (Before 1.5.1 the Go port drew a grid when
294
+ nothing was configured while the TypeScript side drew none — the same JSON gave two
295
+ different charts.)
296
+
292
297
  ### Multi-Axis Layout (N Stacked Y-Axes)
293
298
 
294
299
  To support 3 or more vertical axes (or arbitrary left/right positioning), define `axes.y: YAxisConfig[]` and assign series using `yAxisIndex`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ml-time-graph",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "TypeScript library for time-series chart rendering — DOM-free SVG output (works in the browser and on the server).",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",