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

@react-financial-charts/series

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-financial-charts/series - npm Package Compare versions

Comparing version 1.0.0-alpha.16 to 1.0.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.0.0](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.16...v1.0.0) (2020-12-30)
### Features
* **deps:** moving to d3 v6 ([8d371d2](https://github.com/reactivemarkets/react-financial-charts/commit/8d371d240bc7ac3db3e2f0037b3c0807e05b4749))
# [1.0.0-alpha.16](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2020-09-04)

@@ -8,0 +19,0 @@

2

lib/BarSeries.d.ts

@@ -28,3 +28,3 @@ import { ScaleContinuousNumeric, ScaleTime } from "d3-scale";

xAccessor: (datum: T) => number | Date;
xScale: ScaleTime<number, number> | ScaleContinuousNumeric<number, number>;
xScale: ScaleContinuousNumeric<number, number, never> | ScaleTime<number, number, never>;
plotData: T[];

@@ -31,0 +31,0 @@ }) => number;

@@ -46,3 +46,3 @@ import { ScaleContinuousNumeric, ScaleTime } from "d3-scale";

xAccessor: (datum: T) => number | Date;
xScale: ScaleTime<number, number> | ScaleContinuousNumeric<number, number>;
xScale: ScaleContinuousNumeric<number, number, never> | ScaleTime<number, number, never>;
plotData: T[];

@@ -49,0 +49,0 @@ }) => number;

@@ -16,3 +16,3 @@ import { ScaleContinuousNumeric, ScaleTime } from "d3-scale";

widthRatio: number;
baseAt: (xScale: ScaleContinuousNumeric<number, number>, yScale: ScaleContinuousNumeric<number, number>) => any;
baseAt: (xScale: ScaleContinuousNumeric<number, number, never>, yScale: ScaleContinuousNumeric<number, number, never>) => any;
direction: string;

@@ -25,3 +25,3 @@ stroke: boolean;

xAccessor: (datum: T) => number | Date;
xScale: ScaleTime<number, number> | ScaleContinuousNumeric<number, number>;
xScale: ScaleContinuousNumeric<number, number, never> | ScaleTime<number, number, never>;
plotData: T[];

@@ -28,0 +28,0 @@ }) => number;

@@ -46,3 +46,3 @@ import { ScaleContinuousNumeric, ScaleTime } from "d3-scale";

xAccessor: (datum: T) => number | Date;
xScale: ScaleTime<number, number> | ScaleContinuousNumeric<number, number>;
xScale: ScaleContinuousNumeric<number, number, never> | ScaleTime<number, number, never>;
plotData: T[];

@@ -49,0 +49,0 @@ }) => number;

@@ -28,3 +28,3 @@ import { ScaleContinuousNumeric, ScaleTime } from "d3-scale";

xAccessor: (datum: T) => number | Date;
xScale: ScaleTime<number, number> | ScaleContinuousNumeric<number, number>;
xScale: ScaleContinuousNumeric<number, number, never> | ScaleTime<number, number, never>;
plotData: T[];

@@ -31,0 +31,0 @@ }) => number;

@@ -10,14 +10,8 @@ import { functor, getAxisCanvas, GenericChartComponent } from "@react-financial-charts/core";

const { markerProps } = this.props;
const nest = group(points,
// @ts-ignore
(d) => d.fillStyle,
// @ts-ignore
(d) => d.strokeStyle);
const nest = group(points, (d) => d.fillStyle, (d) => d.strokeStyle);
nest.forEach((fillValues, fillKey) => {
if (fillKey !== "none") {
// @ts-ignore
ctx.fillStyle = fillKey;
}
fillValues.forEach((strokeValues) => {
// @ts-ignore
strokeValues.forEach((point) => {

@@ -59,3 +53,4 @@ const { marker } = point;

})
.filter((marker) => marker !== undefined);
.filter((marker) => marker !== undefined)
.map((marker) => marker);
};

@@ -62,0 +57,0 @@ }

@@ -25,3 +25,3 @@ import { ScaleContinuousNumeric } from "d3-scale";

xAccessor: (datum: T) => number | Date;
xScale: import("d3-scale").ScaleTime<number, number> | ScaleContinuousNumeric<number, number>;
xScale: ScaleContinuousNumeric<number, number, never> | import("d3-scale").ScaleTime<number, number, never>;
plotData: T[];

@@ -28,0 +28,0 @@ }) => number;

{
"name": "@react-financial-charts/series",
"version": "1.0.0-alpha.16",
"version": "1.0.0",
"description": "Series for react-financial-charts",

@@ -41,7 +41,7 @@ "publishConfig": {

"dependencies": {
"@react-financial-charts/core": "^1.0.0-alpha.16",
"@types/d3-scale": "^2.2.0",
"d3-array": "^2.7.1",
"d3-scale": "^2.2.2",
"d3-shape": "^1.3.7"
"@react-financial-charts/core": "^1.0.0",
"@types/d3-scale": "^3.2.2",
"d3-array": "^2.9.1",
"d3-scale": "^3.2.3",
"d3-shape": "^2.0.0"
},

@@ -52,3 +52,3 @@ "peerDependencies": {

},
"gitHead": "3395829dd6bc7677d8a358ef2a78ed2cfbb8d58b"
"gitHead": "4fb31cfd7facea518167d8112defa66101432f7e"
}

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