@pulzr/perses-timeseries-panel 0.1.1 → 0.1.2

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 (71) hide show
  1. package/README.md +3 -2
  2. package/__mf/js/{PulzrTimeSeriesChart.eb206e7530.js → PulzrTimeSeriesChart.8f5010ba5c.js} +2 -2
  3. package/__mf/js/async/{0.a7a60859ff.js → 0.1f67a94360.js} +2 -2
  4. package/__mf/js/async/{07.6a1ab71a6e.js → 07.36ac3671c5.js} +2 -2
  5. package/__mf/js/async/{0p.4b7b7441bd.js → 0p.58ba51c3d8.js} +2 -2
  6. package/__mf/js/async/{1.1bacdad3fc.js → 1.73bde7147c.js} +2 -2
  7. package/__mf/js/async/{2.3c0601342d.js → 2.965b5a081a.js} +2 -2
  8. package/__mf/js/async/{24.4833014747.js → 24.c20b9c5a17.js} +1 -1
  9. package/__mf/js/async/{3.537049c421.js → 3.364f359293.js} +1 -1
  10. package/__mf/js/async/4.21994aea94.js +1 -0
  11. package/__mf/js/async/{5.292f2ba515.js → 5.f4b8ab81b7.js} +1 -1
  12. package/__mf/js/async/{6.01a0af5def.js → 6.1c072abe87.js} +1 -1
  13. package/__mf/js/async/{6x.4f5157fcfd.js → 6x.3c32d29a25.js} +1 -1
  14. package/__mf/js/async/{7.5c5a20a2ef.js → 7.15f564c6f3.js} +2 -2
  15. package/__mf/js/async/{9.d638f9ad72.js → 9.f03162afcc.js} +1 -1
  16. package/__mf/js/async/{__federation_expose_PulzrTimeSeriesChart.1ecd3bfe63.js → __federation_expose_PulzrTimeSeriesChart.872d907273.js} +1 -1
  17. package/__mf/js/async/{aw.0895f2e8a3.js → aw.c62047d59e.js} +1 -1
  18. package/__mf/js/async/b.d9e335c512.js +1 -0
  19. package/__mf/js/async/{c.9b7255b276.js → c.db5f03155c.js} +1 -1
  20. package/__mf/js/async/{f.80778b3699.js → f.629bfc34cd.js} +2 -2
  21. package/__mf/js/async/{f6.818edc5319.js → f6.a297b4c3b5.js} +1 -1
  22. package/__mf/js/async/{g.55f4db5fa3.js → g.8f186fee46.js} +1 -1
  23. package/__mf/js/async/{i.6515de5494.js → i.20d8c95685.js} +1 -1
  24. package/__mf/js/async/{k.af403a2f16.js → k.9353f82963.js} +2 -2
  25. package/__mf/js/async/kk.54ddbdccb1.js +1 -0
  26. package/__mf/js/async/{m.b2fd11df7f.js → m.8322f15461.js} +2 -2
  27. package/__mf/js/async/{n.e353fdf181.js → n.07b91c8f3b.js} +1 -1
  28. package/__mf/js/async/{o.b195d1b760.js → o.f00502c3dc.js} +1 -1
  29. package/__mf/js/async/{o8.2089f70780.js → o8.0d0f7ae8dd.js} +1 -1
  30. package/__mf/js/async/{os.649d2d1c69.js → os.48ffc14283.js} +2 -2
  31. package/__mf/js/async/{p.4e6cb48fdc.js → p.f622a2635a.js} +2 -2
  32. package/__mf/js/async/{pj.d354a4b7a1.js → pj.dd52375d06.js} +1 -1
  33. package/__mf/js/async/{s.c12d54d939.js → s.4d1c08522b.js} +1 -1
  34. package/__mf/js/async/{s9.a104a9bb13.js → s9.14445ad382.js} +1 -1
  35. package/__mf/js/async/{se.43e2e817e5.js → se.3e1054cb2e.js} +2 -2
  36. package/__mf/js/async/{sp.4ba0c579a7.js → sp.823f3e93e8.js} +1 -1
  37. package/__mf/js/async/{sr.a7a17e65dd.js → sr.52e9bae874.js} +1 -1
  38. package/__mf/js/async/{t.37b5b07b14.js → t.94a8ce332d.js} +1 -1
  39. package/__mf/js/async/{tl.b9dcf8fd67.js → tl.d9749e7d1e.js} +1 -1
  40. package/__mf/js/async/{uz.0a77ef6b1c.js → uz.53202eb429.js} +1 -1
  41. package/__mf/js/async/{x.c93331fb46.js → x.57044cf1d5.js} +1 -1
  42. package/__mf/js/async/{xr.22c10fba88.js → xr.6ee20d6a04.js} +1 -1
  43. package/__mf/js/async/{y.421fe538ec.js → y.2d4e8c2b2e.js} +1 -1
  44. package/__mf/js/async/{yk.5db25f8283.js → yk.d357453890.js} +2 -2
  45. package/__mf/js/{main.2f3f6601d3.js → main.5302f40bb7.js} +2 -2
  46. package/lib/TimeSeriesChartPanel.d.ts.map +1 -1
  47. package/lib/TimeSeriesChartPanel.js +2 -2
  48. package/lib/TimeSeriesChartPanel.js.map +1 -1
  49. package/lib/utils/data-transform.d.ts +13 -0
  50. package/lib/utils/data-transform.d.ts.map +1 -1
  51. package/lib/utils/data-transform.js +40 -0
  52. package/lib/utils/data-transform.js.map +1 -1
  53. package/mf-manifest.json +42 -42
  54. package/mf-stats.json +42 -42
  55. package/package.json +1 -1
  56. package/__mf/js/async/4.94dedfde28.js +0 -1
  57. package/__mf/js/async/b.9153abdadc.js +0 -1
  58. package/__mf/js/async/kk.7ef2f70c52.js +0 -1
  59. /package/__mf/js/async/{0.a7a60859ff.js.LICENSE.txt → 0.1f67a94360.js.LICENSE.txt} +0 -0
  60. /package/__mf/js/async/{07.6a1ab71a6e.js.LICENSE.txt → 07.36ac3671c5.js.LICENSE.txt} +0 -0
  61. /package/__mf/js/async/{0p.4b7b7441bd.js.LICENSE.txt → 0p.58ba51c3d8.js.LICENSE.txt} +0 -0
  62. /package/__mf/js/async/{1.1bacdad3fc.js.LICENSE.txt → 1.73bde7147c.js.LICENSE.txt} +0 -0
  63. /package/__mf/js/async/{2.3c0601342d.js.LICENSE.txt → 2.965b5a081a.js.LICENSE.txt} +0 -0
  64. /package/__mf/js/async/{7.5c5a20a2ef.js.LICENSE.txt → 7.15f564c6f3.js.LICENSE.txt} +0 -0
  65. /package/__mf/js/async/{f.80778b3699.js.LICENSE.txt → f.629bfc34cd.js.LICENSE.txt} +0 -0
  66. /package/__mf/js/async/{k.af403a2f16.js.LICENSE.txt → k.9353f82963.js.LICENSE.txt} +0 -0
  67. /package/__mf/js/async/{m.b2fd11df7f.js.LICENSE.txt → m.8322f15461.js.LICENSE.txt} +0 -0
  68. /package/__mf/js/async/{os.649d2d1c69.js.LICENSE.txt → os.48ffc14283.js.LICENSE.txt} +0 -0
  69. /package/__mf/js/async/{p.4e6cb48fdc.js.LICENSE.txt → p.f622a2635a.js.LICENSE.txt} +0 -0
  70. /package/__mf/js/async/{se.43e2e817e5.js.LICENSE.txt → se.3e1054cb2e.js.LICENSE.txt} +0 -0
  71. /package/__mf/js/async/{yk.5db25f8283.js.LICENSE.txt → yk.d357453890.js.LICENSE.txt} +0 -0
package/README.md CHANGED
@@ -1,11 +1,12 @@
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 two additions:
3
+ Perses's [time series chart](https://github.com/perses/plugins/tree/main/timeserieschart), as the panel `PulzrTimeSeriesChart`, with three 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
+ - **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.
6
7
  - **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.
7
8
 
8
- Everything else is the upstream chart, and it installs beside it. The aim is to offer both additions to Perses; this repository goes away once the upstream chart has them.
9
+ 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.
9
10
 
10
11
  ```yaml
11
12
  kind: Panel