From 909141592deb0f4bbb78ea7b267a99e12a81e36f Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 23 Jul 2021 09:14:51 +0200 Subject: [PATCH] StatPanel: Disable selection on Sparkline (#37125) (#37128) (cherry picked from commit a1bbe797df15e28550711c6ea91d69cb0f217764) Co-authored-by: nikki-kiga <42276368+nikki-kiga@users.noreply.github.com> --- packages/grafana-ui/src/components/Sparkline/Sparkline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Sparkline/Sparkline.tsx b/packages/grafana-ui/src/components/Sparkline/Sparkline.tsx index e639b68747c..c212dc080b2 100755 --- a/packages/grafana-ui/src/components/Sparkline/Sparkline.tsx +++ b/packages/grafana-ui/src/components/Sparkline/Sparkline.tsx @@ -93,7 +93,7 @@ export class Sparkline extends PureComponent { const builder = new UPlotConfigBuilder(); builder.setCursor({ - show: true, + show: false, x: false, // no crosshairs y: false, });