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

zz-chart

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zz-chart - npm Package Compare versions

Comparing version 0.1.1-beta.8 to 0.1.1-beta.9

1

lib/components/shape/point.d.ts

@@ -0,1 +1,2 @@

/// <reference types="web" />
import uPlot from 'uplot';

@@ -2,0 +3,0 @@ import { Shape } from './index.js';

@@ -0,1 +1,3 @@

/// <reference types="react" resolution-mode="require"/>
/// <reference types="web" />
import UPlot from 'uplot';

@@ -2,0 +4,0 @@ import { Data, Size } from '../types/index.js';

@@ -311,3 +311,5 @@ import { cloneDeep, merge, mergeWith, omit, isFunction } from 'lodash';

this.ctrl.emit(ChartEvent.PLOT_MOUSEMOVE);
const noData = !u.data[1].some(d => d !== null);
const noData = !Array.from(u.data.slice(1))
.flat()
.some(d => d !== null);
if (!noData && !this.ctrl.hideTooltip && !this.isElementAction) {

@@ -367,2 +369,9 @@ this.ctrl.components.get('tooltip').showTooltip();

cursorX.style.visibility = visibilityX;
const tooltip = this.ctrl.components.get('tooltip');
if (visibilityX === 'hidden') {
tooltip.hideTooltip();
}
else {
tooltip.showTooltip();
}
}

@@ -369,0 +378,0 @@ if (cursorY) {

3

lib/types/options.d.ts
/// <reference types="react" resolution-mode="require"/>
/// <reference types="web" />
import uPlot, { Padding } from 'uplot';
import uPlot, { Padding as UPadding } from 'uplot';
import { AdjustOption } from '../components/shape/bar.js';

@@ -8,2 +8,3 @@ import { SizeCallback } from '../components/shape/point.js';

import { Theme } from './index.js';
export declare type Padding = UPadding;
export interface ChartOption {

@@ -10,0 +11,0 @@ container: string | HTMLElement;

{
"name": "zz-chart",
"version": "0.1.1-beta.8",
"version": "0.1.1-beta.9",
"type": "module",

@@ -5,0 +5,0 @@ "author": "Alauda",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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