So I just upgraded a few graphs from the “Graph (old)” viz to Time series and noticed a few missing features. Not sure if these are coming soon or should I be doing this another way?
Tooltip sorting is gone, another way to do this?
Legend sorting is gone, another way to do this?
Inverse of data to show in/out, another way to do this?
can you clarify this comment?
In the meantime, the squads are working to add as much parity between the old graph panel and the new time series panel. Here is an epic that you can use to track a lot of that progress:
opened 08:11PM - 22 Jan 21 UTC
closed 01:34PM - 24 Aug 21 UTC
area/panel/graph
area/frontend
type/epic
area/panel/timeseries
This is a follow-up to https://github.com/grafana/grafana/issues/27848 (Act 1).
…
Now that we have most work items finished, let's migrate the few remaining and future (planned and possible) things to this issue. Most of the items here are specific to **Time series**, but I'm leaving the title as GraphNG for continuity. Feel free to change it.
Please help me migrate any remaining features to this issue and let's close the old one.
Cleanup:
- [ ] Renames https://github.com/grafana/grafana/issues/32846
Old features (parity):
- [x] [ms precision in tooltip when user zoomed in enough](https://github.com/grafana/grafana/issues/36017)
- [x] Stacking an inverted series (* -1 transform?) - Issues: https://github.com/grafana/grafana/issues/30365 https://github.com/grafana/grafana/pull/44774
- [x] Closest no-null datapoint focus https://github.com/grafana/grafana/issues/31309, https://github.com/grafana/grafana/issues/34542
- [x] stacking (by value, by %) https://github.com/grafana/grafana/pull/30749
- [x] histograms (move to its own panel)
- [x] thresholds (y)
- [ ] regions (x) https://github.com/grafana/grafana/issues/35486
- [ ] Bug: #15010 #28017
- [x] annotations
- [x] shared crosshair https://github.com/grafana/grafana/pull/33433
- [x] sorting legend items #30907
- [x] stat panels no longer use a shared min/max for all graphs, which de-stabilizes ranges across the group. we should look into adding softMin/softMax to Stat, which was designed to stabilize graphs without giving up autoranging (#32765)
- [x] Hiding series via field options: https://github.com/grafana/grafana/issues/33013
New features:
- [ ] focus series on legend hover (torkel request)
- [ ] series symbols - Issues: #28528, PR: #30192
- [ ] padding autosizing - Issues: #33092
- [ ] explicit padding control (for aligning multiple charts) - Issues: #4469
- [ ] grid show/hide (x, y) - Issues: #9305
- [ ] axis tick label rotation - Issues: #3591
- [ ] axis coloring (to visually match series to their y scale) - Issues: #29932
- [ ] bar width control, expose barMaxWidth (for timeseries pseudo-histograms) - Issues: #14130, #18220, Related PR: #30499, Demos: https://leeoniya.github.io/uPlot/demos/line-paths.html (see bottom 2 charts)
- [ ] x/y rectangular zoom, y-only zoom - Issues: #9457
- [x] scale-affixed-gradients as hz or vt stroke or fill colors - Issues: #437, Demos: https://github.com/leeoniya/uPlot/issues/416, https://leeoniya.github.io/uPlot/demos/gradient-fill.html
- [ ] Axes position independent from unit config (https://github.com/grafana/grafana/issues/31002)
- [ ] Viz alignment regardles y-axis being shown or not: https://github.com/grafana/grafana/issues/33014
Add'l cool stuff:
- [x] axis titles (could help, now that there can be 30 y-axes :D)
- [ ] axis tick & grid density control (can get more visual scale resolution without forcing a zoom)
- [ ] y-shifted series - Demos: https://leeoniya.github.io/uPlot/demos/y-shifted-series.html
- [ ] custom fillTo level (not always 0) - Demos: https://github.com/leeoniya/uPlot/issues/292
- [ ] ordinal/even scale distribution (skip periods with no data) - Demos: https://leeoniya.github.io/uPlot/demos/candlestick-ohlc.html (skips showing weekends)
- [ ] interactive legend calcs: https://github.com/grafana/grafana/issues/31629
Bugs / Perf:
- [x] fix tooltip flickering/perf (https://github.com/grafana/grafana/pull/33609 was reverted in https://github.com/grafana/grafana/pull/33866)
- [x] GraphNG: Time series panel Tooltip is cut off at the top #31098
- [x] avoid x axis label collisions - Issues: #30906
- [x] superfluous getConfig() calls during init
- [x] Selecting (hiding) series via legend is not working if those series has a display name change via an override https://github.com/grafana/grafana/issues/31364
- [x] Tooltip shows wrong colors: https://github.com/grafana/grafana/issues/32087
- [x] Cannot read property 'stroke' of undefined https://github.com/grafana/grafana/issues/31203
- [x] GraphNG: Unit not displayed correctly on the Y-axis - Issues: #33895
TODO...
Feature requests / future
- color by value, color by value mappings: https://github.com/grafana/grafana/issues/35310
Depending on what it is that you are trying to accomplish, a lot of sorting issues are now resolved using the field overrides
feature. IT allows for more granular customizations
Yep a tooltip sorting is a killer missing feature. Is there a way to bring it back with the field overrides?