g-chartframe
Advanced tools
Comparing version 5.1.10 to 5.1.11
@@ -1,1 +0,1 @@ | ||
var version = "5.1.10"; export * from "../index"; export {version}; | ||
var version = "5.1.11"; export * from "../index"; export {version}; |
@@ -63,3 +63,2 @@ (function (global, factory) { | ||
function attributeStyle(parent, style){ | ||
console.log('attributeStyle', parent, style) | ||
Object.keys(style).forEach(function(attribute){ | ||
@@ -75,3 +74,2 @@ parent.attr(attribute, style[attribute]); | ||
.attr('font-family','MetricWeb,sans-serif'); | ||
console.log(p) | ||
if (p.node().nodeName.toLowerCase() == 'svg') { | ||
@@ -180,3 +178,2 @@ p.transition(transition) | ||
if(titleLineCount > 1) { | ||
console.log('yes') | ||
return (titlePosition.y + (titleLineCount * titleLineHeight) +(subtitleLineHeight*i)); | ||
@@ -192,3 +189,3 @@ } else { | ||
p.selectAll('text.chart-subtitle tspan') | ||
.html(function(d){ | ||
.html(function(d){ | ||
return d; }) | ||
@@ -198,3 +195,2 @@ .transition(transition) | ||
if(titleLineCount > 1) { | ||
console.log('yes') | ||
return (titlePosition.y + (titleLineCount * titleLineHeight) +(subtitleLineHeight*i)); | ||
@@ -910,3 +906,3 @@ } else { | ||
var version = "5.1.10"; | ||
var version = "5.1.11"; | ||
@@ -913,0 +909,0 @@ exports.version = version; |
{ | ||
"name": "g-chartframe", | ||
"version": "5.1.10", | ||
"version": "5.1.11", | ||
"description": "FT styled frames for D3 graphics", | ||
@@ -5,0 +5,0 @@ "license": "ISC", |
@@ -57,3 +57,2 @@ function chartFrame(configObject){ | ||
function attributeStyle(parent, style){ | ||
console.log('attributeStyle', parent, style) | ||
Object.keys(style).forEach(function(attribute){ | ||
@@ -69,3 +68,2 @@ parent.attr(attribute, style[attribute]); | ||
.attr('font-family','MetricWeb,sans-serif'); | ||
console.log(p) | ||
if (p.node().nodeName.toLowerCase() == 'svg') { | ||
@@ -174,3 +172,2 @@ p.transition(transition) | ||
if(titleLineCount > 1) { | ||
console.log('yes') | ||
return (titlePosition.y + (titleLineCount * titleLineHeight) +(subtitleLineHeight*i)); | ||
@@ -186,3 +183,3 @@ } else { | ||
p.selectAll('text.chart-subtitle tspan') | ||
.html(function(d){ | ||
.html(function(d){ | ||
return d; }) | ||
@@ -192,3 +189,2 @@ .transition(transition) | ||
if(titleLineCount > 1) { | ||
console.log('yes') | ||
return (titlePosition.y + (titleLineCount * titleLineHeight) +(subtitleLineHeight*i)); | ||
@@ -195,0 +191,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340616
2869