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.
- package/USAGE.md +5 -0
- 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