Commit cf232de6 by kevalbhatt

ATLAS-4022: profile tab Build fail fix #1 wq

parent d12609bc
......@@ -19,7 +19,7 @@
define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) {
"use strict";
var ProfileBarChart = {
render(options) {
render: function(options) {
var el = options.el,
type = options.data.key,
data = options.data.values,
......@@ -117,7 +117,7 @@ define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) {
return x(d.value);
})
.attr("width", x.bandwidth())
.attr("y", d => { return height; })
.attr("y", function(d) { return height; })
.attr("height", 0)
.on("click", function(e) {
tooltip.hide();
......
......@@ -19,7 +19,7 @@
define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) {
"use strict";
var ProfileBarChart = {
render(options) {
render: function(options) {
var el = options.el,
type = options.data.key,
data = options.data.values,
......@@ -117,7 +117,7 @@ define(["require", "d3", "d3-tip"], function(require, d3, d3Tip) {
return x(d.value);
})
.attr("width", x.bandwidth())
.attr("y", d => { return height; })
.attr("y", function(d) { return height; })
.attr("height", 0)
.on("click", function(e) {
tooltip.hide();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment