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

@evergis/charts

Package Overview
Dependencies
Maintainers
7
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evergis/charts - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

dist/charts/BubbleChart/draw.d.ts

2

dist/charts/PieChart/drawRadialLabels/helpers.d.ts
import { PieChartDatum } from '../types';
export declare const getMidFactor: (d: PieChartDatum) => 1 | -1;
export declare const getAlign: (d: PieChartDatum) => string;
export declare const getAlign: (d: PieChartDatum) => 'start' | 'end';
import { ReactNode } from 'react';
declare type RenderLabel = (anchor: string, index: number) => ReactNode;
import { RadarChartRenderLabelAnchor } from '../types';
declare type RenderLabel = (anchor: RadarChartRenderLabelAnchor, index: number) => ReactNode;
export declare type DrawRadialLabels = {

@@ -17,3 +18,3 @@ node: HTMLElement;

export declare type LabelContainerProps = {
anchor: string;
anchor: RadarChartRenderLabelAnchor;
translateX: number;

@@ -20,0 +21,0 @@ translateY: number;

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

export declare const getTextAnchor: (index: number, length: number) => string;
export declare const getTextAnchor: (index: number, length: number) => 'start' | 'middle' | 'end';
export declare const getMaxWidth: (elements: SVGElement[]) => number;
import { ReactElement, CSSProperties, ReactNode } from 'react';
import { CurveFactory, CurveFactoryLineOnly, Selection } from 'd3';
export declare type RadarChartFormatValue = (value: number, index: number) => string;
export declare type RadarChartRenderLabel = (data: RadarChartData, items: RadarChartData[]) => ReactNode;
export declare type RadarChartRenderLabelAnchor = 'start' | 'middle' | 'end';
export declare type RadarChartRenderLabelProps = {
item: RadarChartData;
items: RadarChartData[];
anchor: RadarChartRenderLabelAnchor;
index: number;
};
export declare type RadarChartRenderLabel = (props: RadarChartRenderLabelProps) => ReactNode;
export interface RadarChartProps {

@@ -33,3 +40,2 @@ data: RadarChartData[][];

value: number;
properties?: Record<string, {}>;
}
export declare type LabelContainerProps = {
anchor: string;
anchor: 'start' | 'middle' | 'end';
translateX: number;

@@ -4,0 +4,0 @@ translateY: number;

@@ -22,1 +22,4 @@ export { Wrapper as ChartWrapper } from './common/components/Wrapper';

export * from './charts/HorizontalBarChart/types';
export { BubbleChart } from './charts/BubbleChart';
export { bubbleChartClassNames } from './charts/BubbleChart/styled';
export * from './charts/BubbleChart/types';
{
"version": "2.0.9",
"version": "2.0.10",
"license": "MIT",

@@ -64,3 +64,3 @@ "main": "dist/index.js",

},
"gitHead": "641530fe4273aebdd82b6643bc1d721b870a7aa8"
"gitHead": "e618a55e272d54688566a04959777eb33608a026"
}

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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