Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

g-chartframe

Package Overview
Dependencies
Maintainers
4
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

g-chartframe - npm Package Compare versions

Comparing version 5.1.10 to 5.1.11

2

build/bundle.js

@@ -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 {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc