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

vap

Package Overview
Dependencies
Maintainers
3
Versions
568
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vap - npm Package Compare versions

Comparing version 1.4.9 to 1.5.0

6

layouts/charts/BarChart/Top.js

@@ -16,3 +16,2 @@ "use strict";

var _ = require("lodash");
var THEME_1 = require("../THEME");
//默认配置

@@ -29,2 +28,3 @@ var DefaultConfig = {

var html = '<filter id="bar_shadow" height="900%" width="102%" x="-1%" y="-400%"><feGaussianBlur result="blur" in="SourceGraphic" stdDeviation="8" /><feOffset result="offsetBlur" in="blur" dx="0" dy="0" /><feMerge><feMergeNode in="offsetBlur" /><feMergeNode in="SourceGraphic" /></feMerge></filter>';
var chartTheme = ["#ff85d0", "#ffddfb", "#55e9ff", "#2f588f"];
var default_1 = /** @class */ (function (_super) {

@@ -83,3 +83,3 @@ __extends(default_1, _super);

.attr('width', this.WIDTH - this.CONFIG.labelWidth - this.CONFIG.right - this.CONFIG.left)
.attr("fill", THEME_1.Theme.topChartTheme[3]);
.attr("fill", chartTheme[3]);
//添加柱

@@ -94,3 +94,3 @@ rectGroup.append("rect")

.attr('width', 0)
.attr("fill", function (d, i) { return i > 3 ? THEME_1.Theme.topChartTheme[3] : THEME_1.Theme.topChartTheme[i]; })
.attr("fill", function (d, i) { return i > 3 ? chartTheme[3] : chartTheme[i]; })
.on("click", function (d, i) {

@@ -97,0 +97,0 @@ if (_this.props.onClick) {

@@ -5,4 +5,10 @@ /// <reference types="react" />

/**
* 目前支持度:
* resize:不支持
* update: 不支持
* tip提示: 不支持
* click交互: 支持
*
* 其它说明:
* 基于D3JS的地图,引入前主确认已经引用了 d3.js
*
*/

@@ -9,0 +15,0 @@ export default class extends D3Chart<MapOpts> {

@@ -58,4 +58,10 @@ "use strict";

/**
* 目前支持度:
* resize:不支持
* update: 不支持
* tip提示: 不支持
* click交互: 支持
*
* 其它说明:
* 基于D3JS的地图,引入前主确认已经引用了 d3.js
*
*/

@@ -62,0 +68,0 @@ var default_1 = /** @class */ (function (_super) {

{
"name": "vap",
"version": "1.4.9",
"version": "1.5.0",
"description": "vap",

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

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