@pulzr/perses-timeseries-panel 0.1.2 → 0.1.4
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 +3 -1
- package/__mf/js/{PulzrTimeSeriesChart.8f5010ba5c.js → PulzrTimeSeriesChart.7c3ead7012.js} +2 -2
- package/__mf/js/async/{0.1f67a94360.js → 0.5ef0431536.js} +2 -2
- package/__mf/js/async/{07.36ac3671c5.js → 07.069fbddc67.js} +2 -2
- package/__mf/js/async/{0p.58ba51c3d8.js → 0p.45231180d3.js} +2 -2
- package/__mf/js/async/{1.73bde7147c.js → 1.75df3ae4b0.js} +2 -2
- package/__mf/js/async/{2.965b5a081a.js → 2.a727b9416d.js} +2 -2
- package/__mf/js/async/{24.c20b9c5a17.js → 24.aff881525a.js} +1 -1
- package/__mf/js/async/{3.364f359293.js → 3.1a66608288.js} +1 -1
- package/__mf/js/async/4.3c9a2b4233.js +1 -0
- package/__mf/js/async/{5.f4b8ab81b7.js → 5.5d8820f557.js} +1 -1
- package/__mf/js/async/{6.1c072abe87.js → 6.d90805485a.js} +1 -1
- package/__mf/js/async/{6x.3c32d29a25.js → 6x.368a17e295.js} +1 -1
- package/__mf/js/async/{7.15f564c6f3.js → 7.f40ccc96ba.js} +2 -2
- package/__mf/js/async/{9.f03162afcc.js → 9.d08e848582.js} +1 -1
- package/__mf/js/async/{__federation_expose_PulzrTimeSeriesChart.872d907273.js → __federation_expose_PulzrTimeSeriesChart.f8cb14738c.js} +1 -1
- package/__mf/js/async/{aw.c62047d59e.js → aw.bedacdca5d.js} +1 -1
- package/__mf/js/async/b.e5082f36ba.js +1 -0
- package/__mf/js/async/{c.db5f03155c.js → c.783005e082.js} +1 -1
- package/__mf/js/async/{f.629bfc34cd.js → f.1ee31f4c44.js} +2 -2
- package/__mf/js/async/{f6.a297b4c3b5.js → f6.ffd252b334.js} +1 -1
- package/__mf/js/async/{g.8f186fee46.js → g.adaadebd2d.js} +1 -1
- package/__mf/js/async/{i.20d8c95685.js → i.a9f4f52e01.js} +1 -1
- package/__mf/js/async/{k.9353f82963.js → k.4a35cfdf19.js} +2 -2
- package/__mf/js/async/kk.a702691f9e.js +1 -0
- package/__mf/js/async/{m.8322f15461.js → m.e7706a5825.js} +2 -2
- package/__mf/js/async/{n.07b91c8f3b.js → n.dada4ae652.js} +1 -1
- package/__mf/js/async/{o.f00502c3dc.js → o.27f2fd5272.js} +1 -1
- package/__mf/js/async/{o8.0d0f7ae8dd.js → o8.aeb40cdeea.js} +1 -1
- package/__mf/js/async/{os.48ffc14283.js → os.f5826c65d5.js} +2 -2
- package/__mf/js/async/{p.f622a2635a.js → p.7d81f7ca97.js} +2 -2
- package/__mf/js/async/{pj.dd52375d06.js → pj.a85577346e.js} +1 -1
- package/__mf/js/async/{s.4d1c08522b.js → s.db986f308e.js} +1 -1
- package/__mf/js/async/{s9.14445ad382.js → s9.5f6d9374f6.js} +1 -1
- package/__mf/js/async/{se.3e1054cb2e.js → se.02a1c72b61.js} +2 -2
- package/__mf/js/async/{sp.823f3e93e8.js → sp.dfb099e3e6.js} +1 -1
- package/__mf/js/async/{sr.52e9bae874.js → sr.694c7e4e84.js} +1 -1
- package/__mf/js/async/{t.94a8ce332d.js → t.4fcc93a4ee.js} +1 -1
- package/__mf/js/async/{tl.d9749e7d1e.js → tl.252b3303c9.js} +1 -1
- package/__mf/js/async/{uz.53202eb429.js → uz.9126a376c9.js} +1 -1
- package/__mf/js/async/{x.57044cf1d5.js → x.d033ab938e.js} +1 -1
- package/__mf/js/async/{xr.6ee20d6a04.js → xr.2f4b0bfea6.js} +1 -1
- package/__mf/js/async/{y.2d4e8c2b2e.js → y.a7adb70718.js} +1 -1
- package/__mf/js/async/{yk.d357453890.js → yk.79c1e2f705.js} +2 -2
- package/__mf/js/{main.5302f40bb7.js → main.c525171587.js} +2 -2
- package/lib/TimeSeriesChartPanel.d.ts.map +1 -1
- package/lib/TimeSeriesChartPanel.js +41 -19
- package/lib/TimeSeriesChartPanel.js.map +1 -1
- package/lib/time-series-chart-model.d.ts +9 -0
- package/lib/time-series-chart-model.d.ts.map +1 -1
- package/lib/time-series-chart-model.js.map +1 -1
- package/lib/utils/data-transform.d.ts.map +1 -1
- package/lib/utils/data-transform.js +3 -0
- package/lib/utils/data-transform.js.map +1 -1
- package/mf-manifest.json +42 -42
- package/mf-stats.json +42 -42
- package/package.json +1 -1
- package/__mf/js/async/4.21994aea94.js +0 -1
- package/__mf/js/async/b.d9e335c512.js +0 -1
- package/__mf/js/async/kk.54ddbdccb1.js +0 -1
- /package/__mf/js/async/{0.1f67a94360.js.LICENSE.txt → 0.5ef0431536.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{07.36ac3671c5.js.LICENSE.txt → 07.069fbddc67.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{0p.58ba51c3d8.js.LICENSE.txt → 0p.45231180d3.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{1.73bde7147c.js.LICENSE.txt → 1.75df3ae4b0.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2.965b5a081a.js.LICENSE.txt → 2.a727b9416d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7.15f564c6f3.js.LICENSE.txt → 7.f40ccc96ba.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{f.629bfc34cd.js.LICENSE.txt → f.1ee31f4c44.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{k.9353f82963.js.LICENSE.txt → k.4a35cfdf19.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{m.8322f15461.js.LICENSE.txt → m.e7706a5825.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{os.48ffc14283.js.LICENSE.txt → os.f5826c65d5.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{p.f622a2635a.js.LICENSE.txt → p.7d81f7ca97.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{se.3e1054cb2e.js.LICENSE.txt → se.02a1c72b61.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{yk.d357453890.js.LICENSE.txt → yk.79c1e2f705.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Time series chart with bands and step lines, for Perses
|
|
2
2
|
|
|
3
|
-
Perses's [time series chart](https://github.com/perses/plugins/tree/main/timeserieschart), as the panel `PulzrTimeSeriesChart`, with
|
|
3
|
+
Perses's [time series chart](https://github.com/perses/plugins/tree/main/timeserieschart), as the panel `PulzrTimeSeriesChart`, with five additions:
|
|
4
4
|
|
|
5
5
|
- **Line interpolation**: `linear`, `smooth`, `stepBefore` or `stepAfter`, for the whole panel (`visual.lineInterpolation`) or one query (`querySettings[].lineInterpolation`). A setpoint or a mode is a step line.
|
|
6
6
|
- **Calendar steps**: a query whose points are calendar days, weeks or months (local midnights) is drawn where its points are. Perses lays every point on the range's start plus a whole number of steps, so across a clock change (a 23- or 25-hour day) or in a 31-day month a point moved to the next step and the line broke before it. Here a point keeps its own time, and the line breaks only where a whole step is missing. A query of months gives the longest month, 31 days, as its step.
|
|
7
|
+
- **Bars and lines together**: `querySettings[].display` draws one query as bars and another as a line over them, whatever `visual.display` says; `querySettings[].axis: right` gives a query its own scale on the right even in the panel's unit (permits sold as bars, permits active as a line), and `axis: hidden` its own scale with no axis drawn.
|
|
8
|
+
- **Bar width**: `visual.maxBarWidth` keeps bars at most so many px wide, as a week of daily bars should not fill the chart.
|
|
7
9
|
- **Bands**: a query's two series labelled `band: lo` and `band: hi` are drawn as one filled area instead of two lines, in the color of the query's first series, at `visual.bandOpacity` (0.15 by default). The tooltip and legend leave the band out. The [Pulzr Net datasource](https://github.com/pulzar-net/perses-pulzr-datasource) labels a target band this way.
|
|
8
10
|
|
|
9
11
|
Everything else is the upstream chart, and it installs beside it. The aim is to offer these additions to Perses; this repository goes away once the upstream chart has them.
|