Leon Sorokin and Ryan McKinley
b3b1f945b0
BarChart: fix excessive re-renders during mousemove and panel resize ( #45027 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-02-08 16:32:23 -06:00
Leon Sorokin
d0bc3b10bf
Chore: uPlot 1.6.19 ( #45037 )
2022-02-08 00:44:10 -08:00
Leon Sorokin
b07345e57e
StateTimeline: add spanNulls editor ( #44811 )
2022-02-04 16:57:11 -06:00
Leon Sorokin
3504844ad7
DataFrame: insert null values along interval ( #44622 )
2022-02-02 10:25:49 -06:00
Leon Sorokin
6533eb9244
TimeSeries: disable fill when fillBelowTo field is missing ( #44498 )
2022-01-26 17:06:11 -06:00
Leon Sorokin
a20894c261
Formatters: speed up toDuration() ( #44345 )
2022-01-25 22:14:59 -06:00
Leon Sorokin
79ec3ec54c
TimeSeries: prevent threshold line color from affecting grid lines ( #44337 )
2022-01-21 17:19:53 -06:00
Leon Sorokin and Ryan McKinley
e75edc810d
BarChart: color by field, x time field, bar radius, label skipping ( #43257 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-12-23 10:04:41 -08:00
Leon Sorokin
e240c21a43
BarChart: fix excessive viz re-init due to cloneDeep(props) ( #43293 )
2021-12-19 00:26:25 -06:00
Leon Sorokin
dd247f26de
BarChart: refactor x tick label placement logic ( #43256 )
2021-12-17 11:35:09 -06:00
Leon Sorokin
bba7bdeb9e
GraphNG: uPlot 1.6.18 ( #43255 )
2021-12-17 00:24:44 -06:00
Leon Sorokin
8fdbc6cc20
TimeSeries: don't auto-disable fill of fillBelowTo targets ( #43165 )
2021-12-16 14:52:47 -06:00
Leon Sorokin
6b7ef6a80b
BarChart: fix gradient fill orientation when horizontal ( #43183 )
2021-12-16 11:43:29 -06:00
Leon Sorokin
24053d83d3
Candlestick: fix auto field mapping & includeAllFields ( #42020 )
2021-11-24 13:02:53 -06:00
Leon Sorokin
07a440fd3a
TimeSeries: fix fillBelowTo wrongly affecting fills of unrelated series ( #41998 )
2021-11-19 14:42:04 -06:00
Leon Sorokin
17c2f52dcf
Candlestick: fix volume histogram height by using mapped field name ( #41931 )
2021-11-18 20:31:18 -06:00
Leon Sorokin
6844cf57a0
Transformers: ensure ISO 8601 date strings are not parsed in local TZ ( #41835 )
2021-11-17 14:56:04 -06:00
Leon Sorokin
ef1fb64bf5
Candlestick: new icon ( #41819 )
2021-11-17 19:30:07 +01:00
Leon Sorokin
a50b6947ce
GraphNG: uPlot 1.6.17 ( #41663 )
2021-11-14 15:46:15 -06:00
Leon Sorokin
0d9911937d
Chore: add graph-ng tags to gdev test dashboards backed by uPlot ( #41662 )
2021-11-14 10:33:26 -06:00
Leon Sorokin
7a92faf398
TimeSeries: guard against pointSize being set < lineWidth ( #41577 )
2021-11-11 23:47:28 -06:00
Leon Sorokin
57adbc3bd6
Market trend: fix bar width calc when time range exceeds data range ( #41493 )
2021-11-09 18:17:10 -06:00
Leon Sorokin
f0a108afb3
MarketTrend: add new alpha panel ( #40909 )
2021-11-05 18:01:26 -07:00
Leon Sorokin
80b4ef820a
Stat: Fixes an issue that could lead to browser crash with specific values ( #40777 )
2021-10-21 20:08:26 -05:00
Leon Sorokin
d3815a851c
Stat: recompute shared y range during streaming updates ( #39485 )
2021-10-07 10:48:49 +02:00
Leon Sorokin
474461ba15
GraphNG: uPlot 1.6.16 ( #39260 )
2021-09-17 12:33:39 -05:00
Leon Sorokin
29e8728ef0
BarChart: Fix field enumeration for bar value display and legend items ( #39308 )
2021-09-17 09:57:57 -05:00
Leon Sorokin
fb091de2c7
BarChart: Fix legend and tooltip colors off by 1 after data refresh ( #39234 )
2021-09-15 13:10:26 -05:00
Leon Sorokin
df6b6e7a98
BarChart: fix stale bar values and x axis labels ( #39188 )
2021-09-14 12:16:43 -05:00
Leon Sorokin
05e5b67a99
Colors: rename getThresholdRange() -> getGradientRange() ( #38688 )
...
* Colors: use visible y scale range for non-threshold gradients schemes
* rename instead
2021-08-30 15:04:02 -05:00
Leon Sorokin
3c72f1678f
Colors: fix by-value/hex3 & Single color schemes in Gradient mode ( #38656 )
2021-08-27 15:06:28 -05:00
Leon Sorokin
4e2516d12a
GraphNG: fix crash when trying to diff missing timeRange prop ( #38654 )
2021-08-27 12:40:33 -05:00
Leon Sorokin
403bbd0144
GraphNG: optimize measureText(), drop estimation for y-axis auto-sizing ( #38475 )
2021-08-24 00:11:19 -05:00
Leon Sorokin
7cc15c848f
Chore: sync yarn.lock ( #38077 )
2021-08-19 11:24:38 -05:00
Leon Sorokin
ecfa32c8cb
AnnotationEditor: simplify plugin ( #37463 )
2021-08-19 06:40:40 -05:00
49b129b110
GraphNG: fix mem leaks & avoid plot re-inits ( #38017 )
...
* State timeline: fix mem leak caused by excessive plot re-init
* Update PlotTooltipInterpolator type
* Do not reference config object in the setCursor hook
* fix excessive BarChart re-init caused by shallow diff of text config
* one less error
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-18 13:43:53 -05:00
Leon Sorokin
0e3fb55caa
Tooltip: bring back optimized hoverpoint code ( #37901 )
2021-08-13 15:35:41 -05:00
6a77cd43ae
GraphNG: refactor by-value color schemes ( #37670 )
...
* GraphNG: account for top canvas padding in gradient gen for color scheme/thresholds-by-value
* Updated test dashboard
* Added fix for issue when scaleMin was same as threshold
* fixed firefox issue
* revert docs changes
* update gdev dash for easier comparisons & regression spotting
* refactor
* optimize gradient re-gen/re-use and color more tinycolor.setAlpha() -> alpha(). update uPlot to dev build.
* fix percentage steps
* implement % threshold region rendering
* crisp threshold line rendering
* simplify
* WIP: hoverpoint dynamic color interpolation
* fix hover point color interp
* re-use gradient gen to draw threshold areas
* re-implement by-value color scales
* tweak comment
* mimic tinycolor behavior in colorManipulator.alpha() for empty colors
* explicitly disable hover points for BarChart and Histogram
* reduce test failures and required changes to tests
* fix barchart tests
* uPlot 1.6.15
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-13 09:38:04 -05:00
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 Sorokin and An 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 Sorokin and Dominik 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 Sorokin and Ryan 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 Sorokin and Ryan 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