@react-financial-charts/series
Advanced tools
Comparing version 1.0.0-alpha.15 to 1.0.0-alpha.16
@@ -6,2 +6,13 @@ # Change Log | ||
# [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) | ||
### Bug Fixes | ||
* **series:** fixing AlternateDataSeries filtering ([65e31c4](https://github.com/reactivemarkets/react-financial-charts/commit/65e31c47844a25c9e10ec2f116e3e82867a37416)) | ||
# [1.0.0-alpha.15](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2020-09-03) | ||
@@ -8,0 +19,0 @@ |
@@ -1,2 +0,1 @@ | ||
import { head, tail } from "@react-financial-charts/core"; | ||
import * as PropTypes from "prop-types"; | ||
@@ -8,4 +7,4 @@ import * as React from "react"; | ||
const { plotData, xAccessor } = this.context; | ||
const startDate = xAccessor(head(plotData)); | ||
const endDate = xAccessor(tail(plotData)); | ||
const startDate = xAccessor(plotData[0]); | ||
const endDate = xAccessor(plotData[plotData.length - 1]); | ||
return { | ||
@@ -12,0 +11,0 @@ plotData: data.filter((d) => { |
{ | ||
"name": "@react-financial-charts/series", | ||
"version": "1.0.0-alpha.15", | ||
"version": "1.0.0-alpha.16", | ||
"description": "Series for react-financial-charts", | ||
@@ -41,6 +41,6 @@ "publishConfig": { | ||
"dependencies": { | ||
"@react-financial-charts/core": "^1.0.0-alpha.15", | ||
"@react-financial-charts/core": "^1.0.0-alpha.16", | ||
"@types/d3-scale": "^2.2.0", | ||
"d3-array": "^2.5.0", | ||
"d3-scale": "^3.2.1", | ||
"d3-array": "^2.7.1", | ||
"d3-scale": "^2.2.2", | ||
"d3-shape": "^1.3.7" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"gitHead": "629968753ea1c094dab3931cf7eea194062cdc38" | ||
"gitHead": "3395829dd6bc7677d8a358ef2a78ed2cfbb8d58b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
304467
5794
+ Addedd3-array@1.2.4(transitive)
+ Addedd3-collection@1.0.7(transitive)
+ Addedd3-color@1.4.1(transitive)
+ Addedd3-format@1.4.5(transitive)
+ Addedd3-interpolate@1.4.0(transitive)
+ Addedd3-scale@2.2.2(transitive)
+ Addedd3-time@1.1.0(transitive)
+ Addedd3-time-format@2.3.0(transitive)
Updatedd3-array@^2.7.1
Updatedd3-scale@^2.2.2