Commit Graph
81 Commits
Author SHA1 Message Date
Leon Sorokin cf1c2c374f Tooltip: fix time label mismatched with cursor & hover points (#37615) 2021-08-05 22:33:26 -05:00
Leon Sorokin d49ce5ad47 GraphNG: optimize cursor (#37460) 2021-08-04 16:13:11 -05:00
Leon Sorokin 27b94139ed XYCanvas: useMemo() for className gen (#37513) 2021-08-04 13:47:43 -05:00
Leon Sorokin 1fe3452886 Field: use 0-based field.state.seriesIndex (#37563) 2021-08-04 13:02:27 -05:00
Leon SorokinandAn Le 0b7253406b Portal: optimizations (#37459)
Co-authored-by: An Le <an.le@grafana.com>
2021-08-03 16:27:27 -05:00
Leon Sorokin 0d2cd90150 GraphNG: fix y axis autosizing (#37464) 2021-08-03 08:18:05 -05:00
Leon Sorokin 78f46e28c7 Stat: fix shared y scale range, reduce plot re-inits (#37324) 2021-07-28 22:42:18 -07:00
Leon Sorokin 8b80d2256d GraphNG: stack by % (#37127) 2021-07-28 20:31:07 -05:00
Leon Sorokin f78452be30 Color: fix alpha calculation < 16/255 and State-timeline threshold alpha (#35911) 2021-07-23 20:50:47 -05:00
Leon Sorokin 4c3e197e26 TimeSeries: make cursor hover the nearest non-null/undefined datapoint (#34552) 2021-07-23 16:05:09 -05:00
Leon Sorokin 395289f45d GraphNG: uPlot 1.6.14 (#37045) 2021-07-21 15:27:22 -07:00
Leon Sorokin 248b442ca3 Docs: fix link to status-history on visualizations index page (#36873) 2021-07-17 00:45:36 -05:00
Leon Sorokin bb1dac3c72 Stat: use shared data min/max for y auto-ranging (#36497) 2021-07-09 11:33:49 -05:00
Leon Sorokin b8010ba9f5 Web compat: polyfill MediaQueryList.addEventListener() for Safari < 14 (#36274) 2021-06-30 21:36:03 -05:00
Leon SorokinandDominik Prokop f9fb5ba637 TimeSeries: Bring back axis label padding (#36281)
* TimeSeries: bring back some axis label padding

* Update snaps

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-06-30 10:02:56 +02:00
Leon Sorokin 503c3b8f66 Time series: always show single points if surrounded by nulls (#35845) 2021-06-17 15:44:26 -05:00
Leon Sorokin e1e2bd545a GraphNG: more precise axis auto-sizing (#35842) 2021-06-17 13:23:03 -05:00
Leon Sorokin 9eac9aefde GraphNG: uPlot 1.6.13 (#35844) 2021-06-17 13:20:27 -05:00
Leon Sorokin d3c1a2bf8e Time series: fix soft scale limits when all values are 0 (#35596) 2021-06-15 17:39:45 -05:00
Leon Sorokin 36925ef521 Histogram: reduce default bucket size, fix rendering (#35294) 2021-06-04 20:15:08 -05:00
Leon Sorokin 43d3d97562 Histogram: enable client-side zoom (with bucket snapping) (#35220) 2021-06-03 20:05:47 -05:00
Leon Sorokin 433f11a78c GraphNG: uPlot 1.6.11 (#35146) 2021-06-03 04:47:49 -05:00
Leon Sorokin a3ba605aff Timeline: tooltip fixups (#35145) 2021-06-03 04:46:32 -05:00
Leon Sorokin 878474a808 Color utils: optimize colorManipulator/alpha() for common cases (#34948) 2021-06-01 12:52:58 -05:00
Leon Sorokin 13768da417 State timeline: defer quadtree construction until first mousemove (#34949) 2021-05-29 14:01:58 -05:00
Leon Sorokin 3fd006604f BarChart: hide cursor crosshair (#34862) 2021-05-27 23:18:15 -05:00
Leon Sorokin 1dd5d6ffb0 GraphNG: uPlot 1.6.10 (#34759) 2021-05-26 11:46:24 -05:00
Leon Sorokin 3ecacc9d1d TimeSeries: fix spanNulls threshold toggle during panel editing (#34452) 2021-05-20 06:47:49 +02:00
Leon Sorokin 9237348076 Timeline: legend (#34340) 2021-05-19 21:38:31 -07:00
Leon Sorokin 488529b99f Live: reduce render throttling (#34451) 2021-05-19 23:02:01 -05:00
Leon SorokinandRyan McKinley e3188458d5 Timeline & StatusGrid: cleanups (#34250)
* remove text alignment, per-box hover for grid, fix mergeValues

* unconditionally set spanNulls = -1

* fix stroke width offset math

* split multi-hover, so only single mark overlays in grid mode

* restore alignValue in state-timeline

* better descriptions, maybe

* init field.config.custom if necessary

* don't show last out-of-view value

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-05-18 16:38:39 -05:00
Leon SorokinandRyan McKinley 4aaf141ddb Live: streaming labels field (#34031)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-05-13 09:33:11 +02:00
Leon Sorokin 601455190e Timeline: rename modes, grid -> Periodic samples, spans -> State changes (#34033) 2021-05-13 00:04:22 -07:00
Leon Sorokin 4959c55985 Timeline: add support for strings & booleans (#33882) 2021-05-10 20:41:06 -07:00
Leon Sorokin a67fe57e56 GraphNG: always use "x" as scaleKey for x axis (#33884) 2021-05-10 20:43:44 -05:00
Leon Sorokin 5fd7c34420 New Panel: Histogram (#33752) 2021-05-10 14:00:59 -05:00
Leon Sorokin a5c13feb61 GraphNG: refactor (#33348) 2021-05-05 03:44:31 -05:00
Leon Sorokin 1e0c6040c6 Icons: unfork react-inlinesvg (#33607) 2021-05-02 13:43:18 -05:00
Leon Sorokin 5bf76ce881 GraphNG: uPlot 1.6.9 (#33598) 2021-05-02 20:31:27 +02:00
Leon Sorokin e159985aa2 Tooltip: eliminate flickering when repaint can't keep up (#33609) 2021-05-02 13:03:50 -05:00
Leon Sorokin 69bcaf9253 GraphNG: simplify plotContext (#33347) 2021-04-26 13:36:59 -07:00
Leon Sorokin 47e68580a6 DataFrame: also filter fields in single frame case in outerJoinDataFrames() (#33343) 2021-04-23 21:28:18 -05:00
Leon Sorokin 948cba199b GraphNG: don't scan data for min/max when both hard limits are pre-configured (#33295) 2021-04-23 11:35:28 -05:00
Leon Sorokin ed3f5e6ca3 Build: drop TS checking from yarn build (#33235) 2021-04-21 14:40:51 -05:00
Leon Sorokin aeb64ecb16 GraphNG: use theme font family and size for axis labels (#33009)
* GraphNG: use theme font family and size for axis labels

* fix test
2021-04-15 12:27:28 +02:00
Leon Sorokin 3fe9347e28 Live: centrifuge.js 2.7.5 (#33001) 2021-04-14 12:59:42 -05:00
Leon Sorokin 0c71fdac3d GraphNG: uPlot 1.6.8 (#32859) 2021-04-09 18:27:14 -05:00
Leon Sorokin 0c96cbeef0 Icons: expand static cache to include all internally used icons (#32822) 2021-04-09 11:22:58 -05:00
Leon Sorokin a9e90b5088 CloudWatch: replace full query parser with regex scanner that extracts stats groups (#32610) 2021-04-07 10:58:57 -05:00
Leon Sorokin 6082a9360e Alpha panel: new Timeline/Discrete panel (#31973) 2021-04-06 18:06:46 -05:00
Leon Sorokin 3f97b9972b Data: frame compare refactor, drop unused skipProperties (#32700) 2021-04-05 17:29:58 -05:00
Leon Sorokin a080669151 Icons: use plain SVG files, load on-demand (#32387) 2021-04-01 09:09:56 -05:00
Leon Sorokin 066c9c8ff4 GraphNG: accept number for spanNulls to indicate max threshold below which nulls are connected (#32146) 2021-03-22 23:00:34 -07:00
Leon Sorokin 8c4cbd39aa StreamingDataFrame: use concat/slice, add maxDelta support (#32047) 2021-03-22 16:44:05 -07:00
Leon Sorokin fd9dee87e4 EchoSrv: remove deprecated tti-polyfill (#32140)
* EchoSrv: remove deprecated tti-polyfill

* more cleanup
2021-03-22 10:42:02 +01:00
Leon Sorokin 4c2ab6752e uPlot 1.6.7 (#31913) 2021-03-11 11:15:19 -06:00
Leon Sorokin 04e46e3853 Tooltip: partial perf improvement (#31774) (#31837) 2021-03-09 14:25:40 -06:00
Leon Sorokin 1fcf2c30c6 GraphNG: uPlot 1.6.6 (#31795) 2021-03-09 00:14:14 -06:00
Leon Sorokin a5f3889b93 GraphNG: cache ianaName & reduce calls to getTimeZoneInfo() (#31712) 2021-03-05 00:17:43 -06:00
Leon Sorokin c64c0b0725 BarChart: fix single numeric field regression (#31703) 2021-03-04 14:27:14 -06:00
Leon Sorokin b5400922e2 BarChart: inside-align strokes, upgrade uPlot to 1.6.4. (#30806) 2021-02-02 11:49:45 -06:00
Leon Sorokin 79bc6b6892 TestData: Improve what's new in v7.4 (#30612) 2021-01-25 13:59:00 -06:00
Leon Sorokin 92a0ad7273 GraphNG: uPlot 1.6.3 (fix bands not filling below 0). close #30523. (#30527) 2021-01-21 19:30:24 -08:00
Leon Sorokin 87ef5598e6 GraphNG: uPlot 1.6.2 (#30521) 2021-01-21 16:10:50 -06:00
Leon Sorokin 9d4769fd74 GraphNG: fix fillBelowTo regression (#30330) 2021-01-16 10:32:26 -06:00
Leon Sorokin 803fe70c3e GraphNG: implement softMin/softMax for auto-scaling stabilization. close #979. (#30326) 2021-01-16 08:24:13 -06:00
Leon Sorokin 6ce5740e64 GraphNG: uPlot 1.6, hide "Show points" in Points mode, enable "dot" lineStyle (#30263) 2021-01-13 18:33:18 -06:00
Leon Sorokin aa2acd0ca6 GraphNG: "Interpolation: Step after" test (#30127) 2021-01-07 20:42:15 -06:00
Leon Sorokin d65f7346a7 GraphNG: check cross-axis presence when auto-padding. close #30121. (#30126) 2021-01-07 17:27:15 -06:00
Leon Sorokin dba4942edf GraphNG: fix spanGaps optimization in alignDataFrames(). see #30101. (#30118) 2021-01-07 11:54:22 -06:00
Leon Sorokin 75761bf67b GraphNG: uPlot 1.5.2, dynamic stroke/fill, Flot-style hover points (#29866)
* upgrade uPlot 1.5.2 (dynamic stroke & fill, cursor.points API)

* flot-style hover points

* fix tests?
2020-12-16 07:22:25 +01:00
Leon Sorokin 755715fb64 GraphNG: uPlot 1.5.1 (#29789) 2020-12-12 00:54:37 -06:00
Leon Sorokin 77d6100b44 GraphNG: update uPlot v1.5.0 (#29763) 2020-12-11 11:01:55 -08:00
Leon Sorokin fee0d44e5c GraphNG: rename "points" to "showPoints" (#29635)
* rename "points" to "showPoints"

* rename ShowPoints enum to PointVisibility
2020-12-07 09:29:34 -06:00
Leon Sorokin 2d156a385b GraphNG: fix and optimize spanNulls (#29633)
* fix and optimize spanNulls

* AsZero implies spanNulls = true, to prevent null-scanning

* move spanNulls toggle below fillOpacity
2020-12-06 19:26:00 -06:00
Leon Sorokin 2f92794c94 GraphNG: rename GraphMode to DrawStyle (#29623) 2020-12-04 13:08:25 -06:00
Leon Sorokin 7236a44a4f GraphNG: add gaps/nulls support to staircase & smooth interpolation modes (#29593) 2020-12-04 08:33:04 -08:00
Leon SorokinandRyan McKinley 22ec38b043 GraphNG: Bars, Staircase, Smooth modes (#29359)
* initial impl of Bars, Staircase, Smooth modes

* fix fillTo for staircase and smooth paths

* fix pointSize

* [bars] adjust gap factor & reduce bar width to include stroke width. remove rounding to favor gap & width uniformity over edge crispness.

* remove line path fallback for too-dense data

* "Auto" points mode implies "Never" for Bars

* slightly reduce x axis tick density

* fix bars height calc, make bars crisp again.

* [bars] don't use hard-coded 'x' scale key

* refactor catmullRomFitting() to accept x & y coord arrays. restrict to processing only visible data range.

* move path building functions to own file

* export typed functions

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-12-02 16:41:24 -06:00
Leon Sorokin 2c535a9583 Data: use pre-defined output array length in vectorToArray() (#29516) 2020-12-02 09:34:44 -06:00
Leon Sorokin 61d6dcf9ce GraphNG: use uPlot's native ms support (#29445) 2020-11-27 17:06:57 -06:00
Leon SorokinandRyan McKinley 917b5c5f2a [graph-ng] add temporal DataFrame alignment/outerJoin & move null-asZero pass inside (#29250)
[GraphNG] update uPlot, add temporal DataFrame alignment/outerJoin, move null-asZero pass inside, merge isGap updates into u.setData() calls.

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-11-20 23:49:36 -06:00