Index: tracing/tracing/ui/base/chart_base.html |
diff --git a/tracing/tracing/ui/base/chart_base.html b/tracing/tracing/ui/base/chart_base.html |
index 7671d9e719c9a343ca3df7f77c74251ba687bd58..cdd371a81fe707e3f254a29428f430296f40d5ce 100644 |
--- a/tracing/tracing/ui/base/chart_base.html |
+++ b/tracing/tracing/ui/base/chart_base.html |
@@ -10,20 +10,6 @@ found in the LICENSE file. |
<link rel="import" href="/tracing/ui/base/d3.html"> |
<link rel="import" href="/tracing/ui/base/ui.html"> |
-<style> |
- * /deep/ .chart-base { |
- -webkit-user-select: none; |
- cursor: default; |
- } |
- |
- * /deep/ .chart-base .axis path, |
- * /deep/ .chart-base .axis line { |
- fill: none; |
- shape-rendering: crispEdges; |
- stroke: #000; |
- } |
-</style> |
- |
<template id="chart-base-template"> |
<svg> <!-- svg tag is dropped by ChartBase.decorate. --> |
<g xmlns="http://www.w3.org/2000/svg" id="chart-area"> |
@@ -177,6 +163,7 @@ tr.exportTo('tr.ui.b', function() { |
decorate() { |
Polymer.dom(this).classList.add('chart-base'); |
+ this.setAttribute('style', 'cursor: default; userSelect: none;'); |
this.chartTitle_ = undefined; |
this.seriesByKey_ = new Map(); |
this.graphWidth_ = undefined; |