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

juijs-graph

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juijs-graph - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "juijs-graph",
"version": "1.0.1",
"version": "1.0.2",
"sideEffects": false,

@@ -5,0 +5,0 @@ "description": "SVG-based JUI chart that can be used in the browser and Node.js. Support many types of charts. (Dashboard, Map, Topology, Full 3D)",

@@ -178,3 +178,3 @@ import jui from "./base.js"

// _clipId = _.createId("clip-id-");
_clipId = "axis-clip-id-" + jui.size();
_clipId = "axis-clip-id-" + chart.index;

@@ -200,3 +200,3 @@ _clipPath = chart.svg.clipPath({

// _clipRectId = _.createId("clip-rect-id-");
_clipRectId = "axis-clip-rect-id-" + jui.size();
_clipRectId = "axis-clip-rect-id-" + chart.index;

@@ -203,0 +203,0 @@ _clipRect = chart.svg.clipPath({

@@ -38,3 +38,3 @@ import JUI from "./base.js"

var _canvas = { main: null, buffer: null, sub: null }; // 캔버스 모드 전용
var _cache = {};
var _cache = {}, _index = 0; // index는 차트의 생성 순서

@@ -292,3 +292,3 @@ function calculate(self) {

// var id = _.createId("gradient");
var id = "gradient-" + JUI.size();
var id = "gradient-" + _index;
obj.attr.id = id;

@@ -349,3 +349,3 @@

// obj.attr.id = obj.attr.id || _.createId('pattern-');
obj.attr.id = obj.attr.id || "pattern-" + JUI.size();
obj.attr.id = obj.attr.id || "pattern-" + _index;

@@ -572,2 +572,5 @@ if (_hash[obj.attr.id]) {

this.init = function() {
// TODO: 차트 인덱스 설정
_index = this.index = JUI.size();
// 기본 옵션 설정

@@ -574,0 +577,0 @@ setDefaultOptions(this);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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