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

@meta2d/chart-diagram

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meta2d/chart-diagram - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

2

package.json
{
"name": "@meta2d/chart-diagram",
"version": "1.0.12",
"version": "1.0.13",
"description": "The charting library based on le5le meta2d and echarts/highcharts.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -214,2 +214,13 @@ import { deepClone, deepSetValue, setElemPosition, getter, formatTime, setter, } from '@meta2d/core';

if (!pen.echarts.diabled) {
if (pen.echarts.option?.dataZoom) {
//用户调整dataZoom后
const options = pen.calculative.singleton.echart.getOption();
const dataZoom = options.dataZoom;
pen.echarts.option.dataZoom?.forEach((item, index) => {
if (dataZoom[index]) {
item.start = dataZoom[index].start;
item.end = dataZoom[index].end;
}
});
}
pen.calculative.singleton.echart.setOption(updateOption(pen.echarts.option, pen.calculative.canvas.store.data.scale), true);

@@ -229,3 +240,4 @@ }

const option = pen.calculative.partialOption.echarts.option;
if (pen.echarts?.replaceMerge) {
let isReplaceMerge = Array.isArray(pen.echarts?.replaceMerge) ? pen.echarts?.replaceMerge.some((key) => option[key]) : false;
if (isReplaceMerge) {
pen.calculative.singleton.echart.setOption(deepClone(option), {

@@ -232,0 +244,0 @@ replaceMerge: pen.echarts.replaceMerge,

Sorry, the diff of this file is not supported yet

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