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

juijs-chart

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juijs-chart - npm Package Compare versions

Comparing version 2.5.4 to 2.5.5

2

package.json
{
"name": "juijs-chart",
"version": "2.5.4",
"version": "2.5.5",
"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)",

@@ -123,5 +123,8 @@ import jui from "../main.js";

// 이전 x축 도메인 값 캐싱하기
// 이전 x축 옵션 값들 캐싱하기
self.chart.setCache(`prevDomain_${axisIndex}`, axis.get("x").domain);
self.chart.setCache(`prevInterval_${axisIndex}`, axis.get("x").interval);
self.chart.setCache(`prevFormat_${axisIndex}`, axis.get("x").format);
// x축 새로운 값으로 갱신하기
axis.updateGrid("x", {

@@ -223,5 +226,3 @@ domain: [ stime, etime ],

axis = this.chart.axis(axisIndex),
xtype = axis.get("x").type,
interval = axis.get("x").interval,
format = axis.get("x").format;
xtype = axis.get("x").type;

@@ -233,7 +234,9 @@ if(xtype == "block") {

let prevDomain = this.chart.getCache(`prevDomain_${axisIndex}`);
let prevInterval = this.chart.getCache(`prevInterval_${axisIndex}`);
let prevFormat = this.chart.getCache(`prevFormat_${axisIndex}`);
axis.updateGrid("x", {
domain: prevDomain,
interval: interval,
format: format
interval: prevInterval,
format: prevFormat
});

@@ -240,0 +243,0 @@ }

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