@d3fc/d3fc-series
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.4.3](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-series@4.4.2...@d3fc/d3fc-series@4.4.3) (2020-01-27) | ||
**Note:** Version bump only for package @d3fc/d3fc-series | ||
## [4.4.2](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-series@4.4.1...@d3fc/d3fc-series@4.4.2) (2020-01-27) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@d3fc/d3fc-series", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"description": "A collection of components for rendering data series to SVG and canvas, including line, bar, OHLC, candlestick and more", | ||
@@ -35,3 +35,3 @@ "license": "MIT", | ||
"@d3fc/d3fc-shape": "^5.0.19", | ||
"@d3fc/d3fc-webgl": "^1.3.5", | ||
"@d3fc/d3fc-webgl": "^1.4.0", | ||
"d3-array": "^1.0.0", | ||
@@ -45,3 +45,3 @@ "d3-scale": "^1.0.1", | ||
}, | ||
"gitHead": "4a0af33cc052a624bbba6a2d2abd396e3fd50dbb" | ||
"gitHead": "e724ccde6e19cde0b135d6133c37526b670c32db" | ||
} |
@@ -13,6 +13,5 @@ import xyBase from '../xyBase'; | ||
let previousData = []; | ||
let filteredData = []; | ||
const bar = (data) => { | ||
const filteredData = data.filter(base.defined()); | ||
const xScale = scaleMapper(base.xScale()); | ||
@@ -23,2 +22,3 @@ const yScale = scaleMapper(base.yScale()); | ||
previousData = data; | ||
filteredData = data.filter(base.defined()); | ||
@@ -25,0 +25,0 @@ const xValues = new Float32Array(filteredData.length); |
@@ -15,6 +15,5 @@ import boxPlotBase from '../boxPlotBase'; | ||
let previousData = []; | ||
let filteredData = []; | ||
const boxPlot = (data) => { | ||
const filteredData = data.filter(base.defined()); | ||
const xScale = scaleMapper(base.xScale()); | ||
@@ -25,2 +24,3 @@ const yScale = scaleMapper(base.yScale()); | ||
previousData = data; | ||
filteredData = data.filter(base.defined()); | ||
@@ -27,0 +27,0 @@ const xValues = new Float32Array(filteredData.length); |
@@ -13,6 +13,5 @@ import errorBarBase from '../errorBarBase'; | ||
let previousData = []; | ||
let filteredData = []; | ||
const errorBar = (data) => { | ||
const filteredData = data.filter(base.defined()); | ||
const xScale = scaleMapper(base.xScale()); | ||
@@ -23,2 +22,3 @@ const yScale = scaleMapper(base.yScale()); | ||
previousData = data; | ||
filteredData = data.filter(base.defined()); | ||
@@ -25,0 +25,0 @@ const xValues = new Float32Array(filteredData.length); |
@@ -11,6 +11,5 @@ import ohlcBase from '../ohlcBase'; | ||
let previousData = []; | ||
let filteredData = []; | ||
const candlestick = (data) => { | ||
const filteredData = data.filter(base.defined()); | ||
const xScale = scaleMapper(base.xScale()); | ||
@@ -21,2 +20,3 @@ const yScale = scaleMapper(base.yScale()); | ||
previousData = data; | ||
filteredData = data.filter(base.defined()); | ||
@@ -23,0 +23,0 @@ const xValues = new Float32Array(filteredData.length); |
@@ -16,12 +16,11 @@ import d3Shape from 'd3-shape'; | ||
let previousData = []; | ||
let filteredData = []; | ||
const point = (data) => { | ||
const filteredData = data.filter(base.defined()); | ||
const xScale = scaleMapper(base.xScale()); | ||
const yScale = scaleMapper(base.yScale()); | ||
const symbolType = symbolMapper(type); | ||
if (isIdentityScale(xScale.scale) && isIdentityScale(yScale.scale) && !equals(previousData, data)) { | ||
previousData = data; | ||
filteredData = data.filter(base.defined()); | ||
@@ -47,3 +46,3 @@ const accessor = getAccessors(); | ||
.yScale(yScale.glScale) | ||
.type(symbolType) | ||
.type(symbolMapper(type)) | ||
.decorate((program) => base.decorate()(program, filteredData, 0)); | ||
@@ -50,0 +49,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
556872
8034
Updated@d3fc/d3fc-webgl@^1.4.0