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

@d3fc/d3fc-series

Package Overview
Dependencies
Maintainers
3
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d3fc/d3fc-series - npm Package Compare versions

Comparing version 4.3.4 to 4.3.5

4

build/d3fc-series.min.js

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

(function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports,require("d3-shape"),require("d3-selection"),require("d3-scale"),require("d3-path"),require("d3-array")):"function"==typeof define&&define.amd?define(["exports","d3-shape","d3-selection","d3-scale","d3-path","d3-array"],a):(e=e||self,a(e.fc=e.fc||{},e.d3,e.d3,e.d3,e.d3,e.d3))})(this,function(e,a,t,n,l,r){'use strict';var u=Math.max,f=Math.min,p=Math.abs;function o(){var e=arguments;return function(a,t){for(var n=0,l=e.length;n<l;n++)if(null==e[n](a,t))return!1;return!0}}function h(e){return c(e)||s(e)||g()}function c(e){if(Array.isArray(e)){for(var a=0,t=Array(e.length);a<e.length;a++)t[a]=e[a];return t}}function s(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var y="default"in a?a["default"]:a,m="default"in n?n["default"]:n;const x=1e-6;var v=(e,a)=>{e=e||"g";let t=(e,a)=>a,n=null;const l=function(l,i){i=i||(e=>e);const d=l.selection?l:null;d&&(l=l.selection());const r=l.selectAll((e,a,t)=>Array.from(t[a].childNodes).filter(e=>1===e.nodeType)).filter(null==a?e:`${e}.${a}`);let o=r.data(i,t);const h=o.enter().append(e).attr("class",a);let c=o.exit();o=o.merge(h);const s=d||n;return s&&(o=o.transition(s).style("opacity",1),h.style("opacity",x),c=c.transition(s).style("opacity",x)),c.remove(),o.enter=()=>h,o.exit=()=>c,o};return l.element=(...a)=>a.length?(e=a[0],l):e,l.className=(...e)=>e.length?(a=e[0],l):a,l.key=(...e)=>e.length?(t=e[0],l):t,l.transition=(...e)=>e.length?(n=e[0],l):n,l},S=(e,a,t)=>{const n=a[t];if("function"!=typeof n)throw new Error(`Attempt to rebind ${t} which isn't a function on the source object`);return(...t)=>{var l=n.apply(a,t);return l===a?e:l}},b=(e,a,...t)=>{for(const n of t)e[n]=S(e,a,n);return e};const w=e=>a=>e.reduce((e,a)=>e&&a(e),a);var V=(e,a,...t)=>{const n=w(t);for(const l of Object.keys(a)){const t=n(l);t&&(e[t]=S(e,a,l))}return e},T=e=>e.map(e=>"string"==typeof e?new RegExp(`^${e}$`):e),A=(...e)=>(e=T(e),a=>e.every(e=>!e.test(a))&&a),B=e=>a=>e[a],E=function(e){return"function"==typeof e?e:function(){return e}},P=function(e,a){return"left"===e?a/2:"right"===e?-a/2:0},k=function(e){var a=Object.assign({},e),t=function(){};return Object.keys(a).forEach(function(e){t[e]=function(){return arguments.length?(a[e]=0>=arguments.length?void 0:arguments[0],t):a[e]}}),t},I=function(){var e=function(){return 0},a=function(e){return e.x},t=function(e){return e.y},l="center",r=function(){return 5},h="vertical",c=k({decorate:function(){},defined:function(n,l){return o(e,a,t)(n,l)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return c.values=function(n,d){var i=r(n,d),o=P(l,i),s=c.xScale(),g=c.yScale();if("vertical"===h){var u=g(t(n,d),d),f=g(e(n,d),d),p=s(a(n,d),d)+o;return{d:n,x:p,y:u,y0:f,width:i,height:u-f,origin:[p,u],baseOrigin:[p,f],transposedX:p,transposedY:u}}var y=s(t(n,d),d),m=s(e(n,d),d),x=g(a(n,d),d)+o;return{d:n,x:x,y:y,y0:m,width:i,height:y-m,origin:[y,x],baseOrigin:[m,x],transposedX:y,transposedY:x}},c.xValues=function(){return"vertical"===h?[a]:[e,t]},c.yValues=function(){return"vertical"===h?[e,t]:[a]},c.baseValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),c):e},c.crossValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),c):a},c.mainValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),c):t},c.bandwidth=function(){return arguments.length?(r=E(0>=arguments.length?void 0:arguments[0]),c):r},c.align=function(){return arguments.length?(l=0>=arguments.length?void 0:arguments[0],c):l},c.orient=function(){return arguments.length?(h=0>=arguments.length?void 0:arguments[0],c):h},c},C={red:"#c60",green:"#6c0",black:"#000",gray:"#ddd",darkGray:"#999"},R=function(){var e=I(),n=a.line().x(function(a,t){return e.values(a,t).transposedX}).y(function(a,t){return e.values(a,t).transposedY}),l=v("path","line"),i=function(a){a.selection&&l.transition(a),n.defined(e.defined()),a.each(function(a,i,d){var r=l(t.select(d[i]),[a]);r.enter().attr("fill","none").attr("stroke",C.black),r.attr("d",n),e.decorate()(r,a,i)})};return V(i,e,A("baseValue","bandwidth","align")),b(i,l,"key"),b(i,n,"curve"),i},H=function(){var e=I(),t=a.line().x(function(a,t){return e.values(a,t).transposedX}).y(function(a,t){return e.values(a,t).transposedY}),n=function(a){var n=t.context();n.beginPath(),t.defined(e.defined())(a),n.strokeStyle=C.black,n.fillStyle="transparent",e.decorate()(n,a),n.fill(),n.stroke(),n.closePath()};return V(n,e,A("baseValue","bandwidth","align")),b(n,t,"curve","context"),n},L=()=>{const e={},a={},t=(t,n,l,i)=>{Object.keys(e).forEach(a=>{e[a](t,n,a,l,i)}),Object.keys(a).forEach(e=>{a[e](t,n,e)})};return t.attribute=(...a)=>1===a.length?e[a[0]]:(e[a[0]]=a[1],t),t.uniform=(...e)=>1===e.length?a[e[0]]:(a[e[0]]=e[1],t),t};const Q={FLOAT:5126};var z=()=>{let e=null,a=1,t=Q.FLOAT,n=!1,l=0,i=0;const d=(a,t,n)=>{null==e&&(e=a.createBuffer()),a.bindBuffer(a.ARRAY_BUFFER,e);const l=a.getAttribLocation(t,n);a.vertexAttribPointer(l,d.size(),d.type(),d.normalized(),d.stride(),d.offset()),a.enableVertexAttribArray(l)};return d.buffer=(...a)=>a.length?(e=a[0],d):e,d.size=(...e)=>e.length?(a=e[0],d):a,d.type=(...e)=>e.length?(t=e[0],d):t,d.normalized=(...e)=>e.length?(n=e[0],d):n,d.stride=(...e)=>e.length?(l=e[0],d):l,d.offset=(...e)=>e.length?(i=e[0],d):i,d},W=()=>{const e=z();let a=(e,a,t,n,l)=>e[l],t=null,n=0;const l=(n,l)=>{const i=e.size(),d=e.offset(),r=new Float32Array(d+n*l*i);let o=0;for(let e=0;e<n;e++)for(let n=0;n<l;n++)for(let l=0;l<i;l++)r[d+o++]=a(t,e,n,l,o);return r},i=(a,t,i,d,r)=>{if(!(n>=r)){const o=l(r,d);e(a,t,i),a.bindBuffer(a.ARRAY_BUFFER,e.buffer()),a.bufferData(a.ARRAY_BUFFER,o,a.DYNAMIC_DRAW),n=r}};return i.value=(...e)=>e.length?(a=e[0],n=0,i):a,i.data=(...e)=>e.length?(t=e[0],n=0,i):t,V(i,e,A("buffer")),i},N=e=>{let a=e,t=!0,n=(e,t,n)=>{const l=e.getUniformLocation(t,n);if(a instanceof Array)switch(a.length){case 1:e.uniform1fv(l,a);break;case 2:e.uniform2fv(l,a);break;case 3:e.uniform3fv(l,a);break;case 4:e.uniform4fv(l,a);break;default:throw new Error(`Uniform supports up to 4 elements. ${a.length} provided.`);}else e.uniform1f(l,a)};const l=(e,a,l)=>{t&&(t=!1,n(e,a,l))};return l.bind=(...e)=>e.length?(n=e[0],l):n,l.data=(...e)=>e.length?(a=e[0],t=!0,l):a,l},Y=e=>{function a(e,a){e.push(a)}function t(e,a,t){const n=e.indexOf(t);e.splice(0<=n?n:e.length,0,a)}function n(e,a){const t=e.indexOf(a);-1===t&&e.push(a)}const l=[],i=[],d=()=>e(l.join("\n"),i.join("\n"));return d.appendHeader=e=>(a(l,e),d),d.insertHeader=(e,a)=>(t(l,e,a),d),d.appendHeaderIfNotExists=e=>(n(l,e),d),d.appendBody=e=>(a(i,e),d),d.insertBody=(e,a)=>(t(i,e,a),d),d.appendBodyIfNotExists=e=>(n(i,e),d),d};const G=(e,a)=>`
(function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports,require("d3-shape"),require("d3-selection"),require("d3-scale"),require("d3-path"),require("d3-array")):"function"==typeof define&&define.amd?define(["exports","d3-shape","d3-selection","d3-scale","d3-path","d3-array"],a):(e=e||self,a(e.fc=e.fc||{},e.d3,e.d3,e.d3,e.d3,e.d3))})(this,function(e,a,t,n,l,r){'use strict';var u=Math.max,f=Math.min,p=Math.abs;function o(){var e=arguments;return function(a,t){for(var n=0,l=e.length;n<l;n++)if(null==e[n](a,t))return!1;return!0}}function h(e){return c(e)||s(e)||g()}function c(e){if(Array.isArray(e)){for(var a=0,t=Array(e.length);a<e.length;a++)t[a]=e[a];return t}}function s(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var y="default"in a?a["default"]:a,m="default"in n?n["default"]:n;const x=1e-6;var v=(e,a)=>{e=e||"g";let t=(e,a)=>a,n=null;const l=function(l,i){i=i||(e=>e);const d=l.selection?l:null;d&&(l=l.selection());const r=l.selectAll((e,a,t)=>Array.from(t[a].childNodes).filter(e=>1===e.nodeType)).filter(null==a?e:`${e}.${a}`);let o=r.data(i,t);const h=o.enter().append(e).attr("class",a);let c=o.exit();o=o.merge(h);const s=d||n;return s&&(o=o.transition(s).style("opacity",1),h.style("opacity",x),c=c.transition(s).style("opacity",x)),c.remove(),o.enter=()=>h,o.exit=()=>c,o};return l.element=(...a)=>a.length?(e=a[0],l):e,l.className=(...e)=>e.length?(a=e[0],l):a,l.key=(...e)=>e.length?(t=e[0],l):t,l.transition=(...e)=>e.length?(n=e[0],l):n,l},S=(e,a,t)=>{const n=a[t];if("function"!=typeof n)throw new Error(`Attempt to rebind ${t} which isn't a function on the source object`);return(...t)=>{var l=n.apply(a,t);return l===a?e:l}},b=(e,a,...t)=>{for(const n of t)e[n]=S(e,a,n);return e};const w=e=>a=>e.reduce((e,a)=>e&&a(e),a);var V=(e,a,...t)=>{const n=w(t);for(const l of Object.keys(a)){const t=n(l);t&&(e[t]=S(e,a,l))}return e},T=e=>e.map(e=>"string"==typeof e?new RegExp(`^${e}$`):e),A=(...e)=>(e=T(e),a=>e.every(e=>!e.test(a))&&a),B=e=>a=>e[a],E=function(e){return"function"==typeof e?e:function(){return e}},P=function(e,a){return"left"===e?a/2:"right"===e?-a/2:0},k=function(e){var a=Object.assign({},e),t=function(){};return Object.keys(a).forEach(function(e){t[e]=function(){return arguments.length?(a[e]=0>=arguments.length?void 0:arguments[0],t):a[e]}}),t},I=function(){var e=function(){return 0},a=function(e){return e.x},t=function(e){return e.y},l="center",r=function(){return 5},h="vertical",c=k({decorate:function(){},defined:function(n,l){return o(e,a,t)(n,l)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return c.values=function(n,d){var i=r(n,d),o=P(l,i),s=c.xScale(),g=c.yScale();if("vertical"===h){var u=g(t(n,d),d),f=g(e(n,d),d),p=s(a(n,d),d)+o;return{d:n,x:p,y:u,y0:f,width:i,height:u-f,origin:[p,u],baseOrigin:[p,f],transposedX:p,transposedY:u}}var y=s(t(n,d),d),m=s(e(n,d),d),x=g(a(n,d),d)+o;return{d:n,x:x,y:y,y0:m,width:i,height:y-m,origin:[y,x],baseOrigin:[m,x],transposedX:y,transposedY:x}},c.xValues=function(){return"vertical"===h?[a]:[e,t]},c.yValues=function(){return"vertical"===h?[e,t]:[a]},c.baseValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),c):e},c.crossValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),c):a},c.mainValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),c):t},c.bandwidth=function(){return arguments.length?(r=E(0>=arguments.length?void 0:arguments[0]),c):r},c.align=function(){return arguments.length?(l=0>=arguments.length?void 0:arguments[0],c):l},c.orient=function(){return arguments.length?(h=0>=arguments.length?void 0:arguments[0],c):h},c},C={red:"#c60",green:"#6c0",black:"#000",gray:"#ddd",darkGray:"#999"},R=function(){var e=I(),n=a.line().x(function(a,t){return e.values(a,t).transposedX}).y(function(a,t){return e.values(a,t).transposedY}),l=v("path","line"),i=function(a){a.selection&&l.transition(a),n.defined(e.defined()),a.each(function(a,i,d){var r=l(t.select(d[i]),[a]);r.enter().attr("fill","none").attr("stroke",C.black),r.attr("d",n),e.decorate()(r,a,i)})};return V(i,e,A("baseValue","bandwidth","align")),b(i,l,"key"),b(i,n,"curve"),i},H=function(){var e=I(),t=a.line().x(function(a,t){return e.values(a,t).transposedX}).y(function(a,t){return e.values(a,t).transposedY}),n=function(a){var n=t.context();n.beginPath(),n.strokeStyle=C.black,n.fillStyle="transparent",e.decorate()(n,a),t.defined(e.defined())(a),n.fill(),n.stroke(),n.closePath()};return V(n,e,A("baseValue","bandwidth","align")),b(n,t,"curve","context"),n},L=()=>{const e={},a={},t=(t,n,l,i)=>{Object.keys(e).forEach(a=>{e[a](t,n,a,l,i)}),Object.keys(a).forEach(e=>{a[e](t,n,e)})};return t.attribute=(...a)=>1===a.length?e[a[0]]:(e[a[0]]=a[1],t),t.uniform=(...e)=>1===e.length?a[e[0]]:(a[e[0]]=e[1],t),t};const Q={FLOAT:5126};var z=()=>{let e=null,a=1,t=Q.FLOAT,n=!1,l=0,i=0;const d=(a,t,n)=>{null==e&&(e=a.createBuffer()),a.bindBuffer(a.ARRAY_BUFFER,e);const l=a.getAttribLocation(t,n);a.vertexAttribPointer(l,d.size(),d.type(),d.normalized(),d.stride(),d.offset()),a.enableVertexAttribArray(l)};return d.buffer=(...a)=>a.length?(e=a[0],d):e,d.size=(...e)=>e.length?(a=e[0],d):a,d.type=(...e)=>e.length?(t=e[0],d):t,d.normalized=(...e)=>e.length?(n=e[0],d):n,d.stride=(...e)=>e.length?(l=e[0],d):l,d.offset=(...e)=>e.length?(i=e[0],d):i,d},W=()=>{const e=z();let a=(e,a,t,n,l)=>e[l],t=null,n=0;const l=(n,l)=>{const i=e.size(),d=e.offset(),r=new Float32Array(d+n*l*i);let o=0;for(let e=0;e<n;e++)for(let n=0;n<l;n++)for(let l=0;l<i;l++)r[d+o++]=a(t,e,n,l,o);return r},i=(a,t,i,d,r)=>{if(!(n>=r)){const o=l(r,d);e(a,t,i),a.bindBuffer(a.ARRAY_BUFFER,e.buffer()),a.bufferData(a.ARRAY_BUFFER,o,a.DYNAMIC_DRAW),n=r}};return i.value=(...e)=>e.length?(a=e[0],n=0,i):a,i.data=(...e)=>e.length?(t=e[0],n=0,i):t,V(i,e,A("buffer")),i},N=e=>{let a=e,t=!0,n=(e,t,n)=>{const l=e.getUniformLocation(t,n);if(a instanceof Array)switch(a.length){case 1:e.uniform1fv(l,a);break;case 2:e.uniform2fv(l,a);break;case 3:e.uniform3fv(l,a);break;case 4:e.uniform4fv(l,a);break;default:throw new Error(`Uniform supports up to 4 elements. ${a.length} provided.`);}else e.uniform1f(l,a)};const l=(e,a,l)=>{t&&(t=!1,n(e,a,l))};return l.bind=(...e)=>e.length?(n=e[0],l):n,l.data=(...e)=>e.length?(a=e[0],t=!0,l):a,l},Y=e=>{function a(e,a){e.push(a)}function t(e,a,t){const n=e.indexOf(t);e.splice(0<=n?n:e.length,0,a)}function n(e,a){const t=e.indexOf(a);-1===t&&e.push(a)}const l=[],i=[],d=()=>e(l.join("\n"),i.join("\n"));return d.appendHeader=e=>(a(l,e),d),d.insertHeader=(e,a)=>(t(l,e,a),d),d.appendHeaderIfNotExists=e=>(n(l,e),d),d.appendBody=e=>(a(i,e),d),d.insertBody=(e,a)=>(t(i,e,a),d),d.appendBodyIfNotExists=e=>(n(i,e),d),d};const G=(e,a)=>`
precision mediump float;

@@ -214,2 +214,2 @@ float inf = 1.0 / 0.0;

gl_Position.y += (uLineWidth * aYDirection) / uScreen.y;
`),e(h)};return h.xValues=e=>(l.data(e),h),h.medianValues=e=>{const a=i.data();return i.data({...a,median:e}),h},h.upperQuartileValues=e=>{const a=i.data();return i.data({...a,upperQuartile:e}),h},h.lowerQuartileValues=e=>{const a=i.data();return i.data({...a,lowerQuartile:e}),h},h.highValues=e=>{const a=i.data();return i.data({...a,high:e}),h},h.lowValues=e=>{const a=i.data();return i.data({...a,low:e}),h},h.bandwidth=e=>{const a=o.data();return o.data({...a,bandwidth:e}),h},h.capWidth=e=>{const a=o.data();return o.data({...a,capWidth:e}),h},h.xScale=(...e)=>e.length?(a=e[0],h):a,h.yScale=(...e)=>e.length?(t=e[0],h):t,b(h,e,"context"),b(h,n,"lineWidth"),h},We=e=>"function"==typeof e?e:()=>e,Ne=()=>{let e=null,a=e=>e.date,t=e=>e.open,n=e=>e.high,r=e=>e.low,o=e=>e.close,h="vertical",c=We(3);const s=function(i){const s=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=t(e,l),g=n(e,l),u=r(e,l),f=o(e,l),p=c(e,l)/2;"vertical"===h?(s.moveTo(i,u),s.lineTo(i,g),s.moveTo(i,d),s.lineTo(i-p,d),s.moveTo(i,f),s.lineTo(i+p,f)):(s.moveTo(u,i),s.lineTo(g,i),s.moveTo(d,i),s.lineTo(d,i+p),s.moveTo(f,i),s.lineTo(f,i-p))}),e?null:s.toString()};return s.context=(...a)=>a.length?(e=a[0],s):e,s.x=(...e)=>e.length?(a=We(e[0]),s):a,s.open=(...e)=>e.length?(t=We(e[0]),s):t,s.high=(...e)=>e.length?(n=We(e[0]),s):n,s.low=(...e)=>e.length?(r=We(e[0]),s):r,s.close=(...e)=>e.length?(o=We(e[0]),s):o,s.width=(...e)=>e.length?(c=We(e[0]),s):c,s.orient=(...e)=>e.length?(h=e[0],s):h,s},Ye=()=>{let e=null,a=e=>e.x,t=e=>e.y,n="center",i="center",r=e=>e.height,o=We(3);const h=function(d,h){const c=e||l.path();return d.forEach(function(e,l){const d=a.call(this,e,h||l),s=t.call(this,e,h||l),g=r.call(this,e,h||l),u=o.call(this,e,h||l);let f;switch(n){case"left":f=u;break;case"right":f=0;break;case"center":f=u/2;break;default:throw new Error("Invalid horizontal alignment "+n);}let p;switch(i){case"bottom":p=-g;break;case"top":p=0;break;case"center":p=g/2;break;default:throw new Error("Invalid vertical alignment "+i);}c.rect(d-f,s-p,u,g)},this),e?null:c.toString()};return h.context=(...a)=>a.length?(e=a[0],h):e,h.x=(...e)=>e.length?(a=We(e[0]),h):a,h.y=(...e)=>e.length?(t=We(e[0]),h):t,h.width=(...e)=>e.length?(o=We(e[0]),h):o,h.horizontalAlign=(...e)=>e.length?(n=e[0],h):n,h.height=(...e)=>e.length?(r=We(e[0]),h):r,h.verticalAlign=(...e)=>e.length?(i=e[0],h):i,h},Ge=()=>{let e=null,a=e=>e.date,t=e=>e.open,n=e=>e.high,r=e=>e.low,o=e=>e.close,h=We(3);const c=function(i){const c=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=t(e,l),s=n(e,l),g=r(e,l),p=o(e,l),y=h(e,l);c.rect(i-y/2,d,y,p-d),c.moveTo(i,f(p,d)),c.lineTo(i,s),c.moveTo(i,u(p,d)),c.lineTo(i,g)}),e?null:c.toString()};return c.context=(...a)=>a.length?(e=a[0],c):e,c.x=(...e)=>e.length?(a=We(e[0]),c):a,c.open=(...e)=>e.length?(t=We(e[0]),c):t,c.high=(...e)=>e.length?(n=We(e[0]),c):n,c.low=(...e)=>e.length?(r=We(e[0]),c):r,c.close=(...e)=>e.length?(o=We(e[0]),c):o,c.width=(...e)=>e.length?(h=We(e[0]),c):h,c},De=()=>{let e=null,a=e=>e.value,t=e=>e.median,n=e=>e.upperQuartile,r=e=>e.lowerQuartile,o=e=>e.high,h=e=>e.low,c="vertical",s=We(5),g=We(.5);const u=function(i){const u=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=s(e,l),f=d/2,p=d*g(e,l),y=p/2,m=o(e,l),x=n(e,l),v=t(e,l),S=r(e,l),b=h(e,l),w=S-x;"vertical"===c?(u.moveTo(i-y,m),u.lineTo(i+y,m),u.moveTo(i,m),u.lineTo(i,x),u.rect(i-f,x,d,w),u.moveTo(i-f,v),u.lineTo(i+f,v),u.moveTo(i,S),u.lineTo(i,b),u.moveTo(i-y,b),u.lineTo(i+y,b)):(u.moveTo(b,i-y),u.lineTo(b,i+y),u.moveTo(b,i),u.lineTo(S,i),u.rect(S,i-f,-w,d),u.moveTo(v,i-f),u.lineTo(v,i+f),u.moveTo(x,i),u.lineTo(m,i),u.moveTo(m,i-y),u.lineTo(m,i+y))}),e?null:u.toString()};return u.context=(...a)=>a.length?(e=a[0],u):e,u.value=(...e)=>e.length?(a=We(e[0]),u):a,u.median=(...e)=>e.length?(t=We(e[0]),u):t,u.upperQuartile=(...e)=>e.length?(n=We(e[0]),u):n,u.lowerQuartile=(...e)=>e.length?(r=We(e[0]),u):r,u.high=(...e)=>e.length?(o=We(e[0]),u):o,u.low=(...e)=>e.length?(h=We(e[0]),u):h,u.width=(...e)=>e.length?(s=We(e[0]),u):s,u.orient=(...e)=>e.length?(c=e[0],u):c,u.cap=(...e)=>e.length?(g=We(e[0]),u):g,u},Fe=()=>{let e=null,a=e=>e.x,t=e=>e.high,n=e=>e.low,r="vertical",o=We(5);const h=function(i){const h=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=o(e,l),c=d/2,s=t(e,l),g=n(e,l);"vertical"===r?(h.moveTo(i-c,s),h.lineTo(i+c,s),h.moveTo(i,s),h.lineTo(i,g),h.moveTo(i-c,g),h.lineTo(i+c,g)):(h.moveTo(g,i-c),h.lineTo(g,i+c),h.moveTo(g,i),h.lineTo(s,i),h.moveTo(s,i-c),h.lineTo(s,i+c))}),e?null:h.toString()};return h.context=(...a)=>a.length?(e=a[0],h):e,h.value=(...e)=>e.length?(a=We(e[0]),h):a,h.high=(...e)=>e.length?(t=We(e[0]),h):t,h.low=(...e)=>e.length?(n=We(e[0]),h):n,h.width=(...e)=>e.length?(o=We(e[0]),h):o,h.orient=(...e)=>e.length?(r=e[0],h):r,h},_e=function(){var e=function(e){return e.high},a=function(e){return e.low},t=function(e){return e.cross},l="vertical",r="center",h=function(){return 5},c=k({decorate:function(){},defined:function(n,l){return o(a,e,t)(n,l)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return c.values=function(n,d){var i=h(n,d),o=P(r,i),s=c.xScale(),g=c.yScale();if("vertical"===l){var u=g(e(n,d));return{origin:[s(t(n,d))+o,u],high:0,low:g(a(n,d))-u,width:i}}var f=s(a(n,d));return{origin:[f,g(t(n,d))+o],high:s(e(n,d))-f,low:0,width:i}},c.xValues=function(){return"vertical"===l?[t]:[e,a]},c.yValues=function(){return"vertical"===l?[e,a]:[t]},c.orient=function(){return arguments.length?(l=0>=arguments.length?void 0:arguments[0],c):l},c.lowValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),c):a},c.highValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),c):e},c.crossValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),c):t},c.bandwidth=function(){return arguments.length?(h=E(0>=arguments.length?void 0:arguments[0]),c):h},c.align=function(){return arguments.length?(r=0>=arguments.length?void 0:arguments[0],c):r},c},Xe=function(){var e,a=function(e){return e.date},t=function(e){return e.open},l=function(e){return e.high},r=function(e){return e.low},h=function(e){return e.close},c=function(){return 5},s="center",g=function(t,n){return e.xScale()(a(t,n))};return e=k({decorate:function(){},defined:function(e,n){return o(a,t,r,l,h)(e,n)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()}),e.values=function(a,n){var i=h(a,n),d=t(a,n),o=c(a,n),u=P(s,o),f="";return i>d?f="up":i<d&&(f="down"),{cross:g(a,n)+u,open:e.yScale()(d),high:e.yScale()(l(a,n)),low:e.yScale()(r(a,n)),close:e.yScale()(i),width:o,direction:f}},e.xValues=function(){return[a]},e.yValues=function(){return[t,l,r,h]},e.crossValue=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],e):a},e.openValue=function(){return arguments.length?(t=0>=arguments.length?void 0:arguments[0],e):t},e.highValue=function(){return arguments.length?(l=0>=arguments.length?void 0:arguments[0],e):l},e.lowValue=function(){return arguments.length?(r=0>=arguments.length?void 0:arguments[0],e):r},e.yValue=e.closeValue=function(){return arguments.length?(h=0>=arguments.length?void 0:arguments[0],e):h},e.bandwidth=function(){return arguments.length?(c=E(0>=arguments.length?void 0:arguments[0]),e):c},e.align=function(){return arguments.length?(s=0>=arguments.length?void 0:arguments[0],e):s},e},Oe=function(e,a){var n=Xe(),l=v("g",a),r=function(e){return"translate("+e.cross+", "+e.high+")"},o=function(e){return function(a){return e.selection?a.transition(e):a}},h=function(i){i.selection&&l.transition(i);var h=o(i);i.each(function(i,d,o){var c=i.filter(n.defined()),s=l(t.select(o[d]),c);s.enter().attr("transform",function(e,a){return r(n.values(e,a))+" scale(1e-6, 1)"}).append("path"),s.each(function(l,d,i){var o=n.values(l,d),c="up"===o.direction?C.green:C.red,s=h(t.select(i[d])).attr("class",a+" "+o.direction).attr("stroke",c).attr("fill",c).attr("transform",function(){return r(o)+" scale(1)"});e.x(0).width(o.width).open(function(){return o.open-o.high}).high(0).low(function(){return o.low-o.high}).close(function(){return o.close-o.high}),s.select("path").attr("d",e([l]))}),n.decorate()(s,i,d)})};return b(h,l,"key"),V(h,n),h},Ue=function(e){var a=Xe(),t=function(t){var n=t.filter(a.defined()),l=e.context();n.forEach(function(t,n){l.save();var i=a.values(t,n);l.translate(i.cross,i.high),l.beginPath(),e.x(0).open(function(){return i.open-i.high}).width(i.width).high(0).low(function(){return i.low-i.high}).close(function(){return i.close-i.high})([t]);var d="up"===i.direction?C.green:C.red;l.strokeStyle=d,l.fillStyle=d,a.decorate()(l,t,n),l.fill(),l.stroke(),l.closePath(),l.restore()})};return b(t,e,"context"),V(t,a),t},Me=function(e){var a=Xe(),t=function(t){var n=t.filter(a.defined()),l=j(a.xScale()),r=j(a.yScale()),o=new Float32Array(n.length),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length),g=new Float32Array(n.length),u=new Float32Array(n.length);n.forEach(function(e,t){o[t]=l.scale(a.crossValue()(e,t)),h[t]=r.scale(a.openValue()(e,t)),c[t]=r.scale(a.highValue()(e,t)),s[t]=r.scale(a.lowValue()(e,t)),g[t]=r.scale(a.closeValue()(e,t)),u[t]=a.bandwidth()(e,t)}),e.xValues(o).openValues(h).highValues(c).lowValues(s).closeValues(g).bandwidth(u).xScale(l.glScale).yScale(r.glScale).decorate(function(e){return a.decorate()(e,n,0)}),e(n.length)};return V(t,a,A("align")),b(t,e,"context","lineWidth"),t},je=function(){var e=function(e){return e.upperQuartile},a=function(e){return e.lowerQuartile},t=function(e){return e.high},l=function(e){return e.low},r=function(e){return e.value},h=function(e){return e.median},c="vertical",s="center",g=function(){return 5},u=k({decorate:function(){},defined:function(n,d){return o(l,t,a,e,r,h)(n,d)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return u.values=function(n,d){var i=g(n,d),o=P(s,i),f=u.xScale(),p=u.yScale();if("vertical"===c){var m=p(t(n,d));return{origin:[f(r(n,d))+o,m],high:0,upperQuartile:p(e(n,d))-m,median:p(h(n,d))-m,lowerQuartile:p(a(n,d))-m,low:p(l(n,d))-m,width:i}}var y=f(l(n,d));return{origin:[y,p(r(n,d))+o],high:f(t(n,d))-y,upperQuartile:f(e(n,d))-y,median:f(h(n,d))-y,lowerQuartile:f(a(n,d))-y,low:0,width:i}},u.xValues=function(){return"vertical"===c?[r]:[e,a,t,l,h]},u.yValues=function(){return"vertical"===c?[e,a,t,l,h]:[r]},u.orient=function(){return arguments.length?(c=0>=arguments.length?void 0:arguments[0],u):c},u.lowerQuartileValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),u):a},u.upperQuartileValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),u):e},u.lowValue=function(){return arguments.length?(l=E(0>=arguments.length?void 0:arguments[0]),u):l},u.highValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),u):t},u.crossValue=function(){return arguments.length?(r=E(0>=arguments.length?void 0:arguments[0]),u):r},u.medianValue=function(){return arguments.length?(h=E(0>=arguments.length?void 0:arguments[0]),u):h},u.bandwidth=function(){return arguments.length?(g=E(0>=arguments.length?void 0:arguments[0]),u):g},u.align=function(){return arguments.length?(s=0>=arguments.length?void 0:arguments[0],u):s},u},qe=function(){var e=[],a=function(e){return e},t=function(e,a){return a},l=k({decorate:function(){},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return l.xValues=function(){return e.map(function(e){return e.xValues()}).reduce(function(e,a){return e.concat(a)})},l.yValues=function(){return e.map(function(e){return e.yValues()}).reduce(function(e,a){return e.concat(a)})},l.mapping=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],l):a},l.key=function(){return arguments.length?(t=0>=arguments.length?void 0:arguments[0],l):t},l.series=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],l):e},l},Ke=function(){var e=qe(),a=v("g"),n=v("g","multi"),l=function(l){l.selection&&(n.transition(l),a.transition(l));var i=e.mapping(),d=e.series(),r=e.xScale(),o=e.yScale();l.each(function(l,h,c){var s=n(t.select(c[h]),d);s.each(function(e,n,h){e.xScale(r).yScale(o);var c=i(l,n,d),s=a(t.select(h[n]),[c]);s.call(e)});var g=s.selection?s.selection():s;g.order(),e.decorate()(s,l,h)})};return V(l,e),b(l,n,"key"),l},Je=function(){var e=null,a=qe(),t=function(t){var n=a.mapping(),l=a.series(),i=a.xScale(),d=a.yScale();l.forEach(function(r,o){var h=n(t,o,l);r.context(e).xScale(i).yScale(d);var s;r.decorate?(s=r.decorate(),r.decorate(function(e,n,l){a.decorate()(e,t,o),s(e,n,l)})):a.decorate()(e,t,o),r(h),s&&r.decorate(s)})};return t.context=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],t):e},V(t,a),t},Ze=function(){var e=function(){return 50},a="center",t=n.scaleBand(),l=k({decorate:function(){},xScale:n.scaleLinear(),yScale:n.scaleLinear()});return l.offsetScaleForDatum=function(n,l,d){var i=e(l,d),o=P(a,i),h=i/2;return t.domain(r.range(0,n.length)).range([-h+o,h+o])},l.bandwidth=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),l):e},l.align=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],l):a},V(l,t,B({paddingInner:"paddingOuter"})),l},$e=function(){var e="vertical",a=H(),t=Je(),n=function(n){"vertical"===e?t.series(n[0].map(function(){return a})).mapping(function(e,a){return e.map(function(e){return e[a]})}):t.series(n.map(function(){return a})).mapping(function(e,a){return e[a]}),t(n)};return n.series=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],n):a},n.orient=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],n):e},V(n,t,A("series","mapping")),n},ea=function(e){return e.sort(r.ascending).filter(function(e,a,t){return-1===t.indexOf(e,a+1)})},aa=function(){var e=function(e){return e.x},a=function(e){return e.y},t=function(e){return e.color},l=function(){return 5},h=function(){return 5},c=n.interpolateViridis,s=k({decorate:function(){},defined:function(n,l){return o(e,a,t)(n,l)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return s.pathGenerator=Ye().x(0).y(0),s.colorScale=function(e){var a=e.map(t);return n.scaleLinear().domain([r.min(a),r.max(a)])},s.values=function(n,d){return{x:s.xScale()(e(n,d)),y:s.yScale()(a(n,d)),colorValue:t(n,d),width:h(n,d),height:l(n,d)}},s.xValues=function(){return[e]},s.yValues=function(){return[a]},s.xValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),s):e},s.yValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),s):a},s.colorValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),s):t},s.colorInterpolate=function(){return arguments.length?(c=0>=arguments.length?void 0:arguments[0],s):c},s.xBandwidth=function(){return arguments.length?(h=E(0>=arguments.length?void 0:arguments[0]),s):h},s.yBandwidth=function(){return arguments.length?(l=E(0>=arguments.length?void 0:arguments[0]),s):l},V(s,s.pathGenerator,B({horizontalAlign:"xAlign",verticalAlign:"yAlign"})),s};e.autoBandwidth=function(e){var a=.75,n=function(e){if(1>=e.length)return 10;e=ea(e);var t=r.pairs(e).map(function(e){return p(e[0]-e[1])}),n=r.min(t);return a*n},l=function(a,t,l){if(a.bandwidth)return a.bandwidth();var i,d=Array.isArray(t)?(i=[]).concat.apply(i,h(t)):t,r=d.filter(e.defined()).map(l()).map(a),o=n(r);return o},i=function(a){var n=function(a){if(e.xBandwidth&&e.yBandwidth)e.xBandwidth(l(e.xScale(),a,e.xValue)),e.yBandwidth(l(e.yScale(),a,e.yValue));else{var t=e.orient&&"horizontal"===e.orient()?e.yScale():e.xScale();e.bandwidth(l(t,a,e.crossValue))}};a instanceof t.selection?a.each(function(a,l,i){n(a),e(t.select(i[l]))}):(n(a),e(a))};return V(i,e),i.widthFraction=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],i):a},i},e.seriesCanvasArea=function(){var e=I(),t=a.area(),n=function(a){var n=t.context();t.defined(e.defined());var l=a.map(e.values);t.x(function(e,a){return l[a].transposedX}).y(function(e,a){return l[a].transposedY});var i="vertical"===e.orient()?"y":"x";t[i+"0"](function(e,a){return l[a].y0}),t[i+"1"](function(e,a){return l[a].y}),n.beginPath(),t(a),n.fillStyle=C.gray,n.strokeStyle="transparent",e.decorate()(n,a),n.fill(),n.stroke(),n.closePath()};return V(n,e,A("bandwidth","align")),b(n,t,"curve","context"),n},e.seriesCanvasBar=function(){var e=I(),a=Ye().x(0).y(0),t=function(a){return"vertical"===e.orient()?a.height:a.width},n=function(a){return"vertical"===e.orient()?a.width:a.height},l=function(l){var d=a.context(),r=l.filter(e.defined()),o=r.map(e.values);"vertical"===e.orient()?(a.verticalAlign("top"),a.horizontalAlign("center")):(a.horizontalAlign("right"),a.verticalAlign("center")),o.forEach(function(l,r){d.save(),d.beginPath(),d.translate(l.origin[0],l.origin[1]),t(a)(-l.height),n(a)(l.width),a([l]),d.fillStyle=C.darkGray,d.strokeStyle="transparent",e.decorate()(d,l.d,r),d.fill(),d.stroke(),d.closePath(),d.restore()})};return V(l,e),b(l,a,"context"),l},e.seriesCanvasBoxPlot=function(){var e=je(),a=De().value(0),t=function(t){var n=t.filter(e.defined()),l=a.context();a.orient(e.orient()),n.forEach(function(t,n){l.save();var i=e.values(t,n);l.translate(i.origin[0],i.origin[1]),l.beginPath(),a.median(i.median).upperQuartile(i.upperQuartile).lowerQuartile(i.lowerQuartile).high(i.high).width(i.width).low(i.low)([t]),l.fillStyle=C.gray,l.strokeStyle=C.black,e.decorate()(l,t,n),l.fill(),l.stroke(),l.closePath(),l.restore()})};return V(t,e),b(t,a,"cap","context"),t},e.seriesCanvasCandlestick=function(){return Ue(Ge())},e.seriesCanvasErrorBar=function(){var e=_e(),a=Fe().value(0),t=function(t){var n=t.filter(e.defined()),l=a.context();a.orient(e.orient()),n.forEach(function(t,n){l.save();var i=e.values(t,n);l.translate(i.origin[0],i.origin[1]),l.beginPath(),a.high(i.high).width(i.width).low(i.low)([t]),l.strokeStyle=C.black,l.fillStyle=C.gray,e.decorate()(l,t,n),l.fill(),l.stroke(),l.closePath(),l.restore()})};return V(t,e),b(t,a,"context"),t},e.seriesCanvasGrouped=function(e){var a=Ze(),t=function(t){t.forEach(function(n,l){var r="horizontal"!==e.orient(),o=function(e,n){var i=a.offsetScaleForDatum(t,e,n),d=r?a.xScale():a.yScale();return d(e)+i(l)+i.bandwidth()/2};r?(e.xScale(o),e.yScale(a.yScale())):(e.yScale(o),e.xScale(a.xScale())),e.bandwidth&&e.bandwidth(function(e,n){return a.offsetScaleForDatum(t,e,n).bandwidth()}),e.decorate(function(e,t){return a.decorate()(e,t,l)}),e(n)})};return V(t,e,A("decorate","xScale","yScale")),V(t,a,A("offsetScaleForDatum")),t},e.seriesCanvasHeatmap=function(){var e=aa(),a=function(a){var t=a.filter(e.defined()),n=e.colorInterpolate(),l=e.colorScale(t),r=e.pathGenerator.context();t.forEach(function(a,t){r.save(),r.beginPath();var i=e.values(a,t);r.translate(i.x,i.y),r.fillStyle=n(l(i.colorValue)),r.strokeStyle="transparent",e.pathGenerator.height(i.height).width(i.width)([a]),e.decorate()(r,a,t),r.fill(),r.stroke(),r.closePath(),r.restore()})};return b(a,e.pathGenerator,"context"),V(a,e),a},e.seriesCanvasLine=H,e.seriesCanvasMulti=Je,e.seriesCanvasOhlc=function(){return Ue(Ne())},e.seriesCanvasPoint=function(){var e=a.symbol(),t=I(),n=function(a){var n=a.filter(t.defined()),l=e.context();n.forEach(function(a,n){l.save();var i=t.values(a,n);l.translate(i.origin[0],i.origin[1]),l.beginPath(),e(a,n),l.strokeStyle=C.black,l.fillStyle=C.gray,t.decorate()(l,a,n),l.fill(),l.stroke(),l.closePath(),l.restore()})};return V(n,t,A("baseValue","bandwidth","align")),b(n,e,"size","type","context"),n},e.seriesCanvasRepeat=$e,e.seriesSvgArea=function(){var e=I(),n=a.area(),l=v("path","area"),i=function(a){a.selection&&l.transition(a),n.defined(e.defined()),a.each(function(a,i,d){var r=a.map(e.values);n.x(function(e,a){return r[a].transposedX}).y(function(e,a){return r[a].transposedY});var o="vertical"===e.orient()?"y":"x";n[o+"0"](function(e,a){return r[a].y0}),n[o+"1"](function(e,a){return r[a].y});var h=l(t.select(d[i]),[a]);h.enter().attr("fill",C.gray),h.attr("d",n),e.decorate()(h,a,i)})};return V(i,e,A("bandwidth","align")),b(i,l,"key"),b(i,n,"curve"),i},e.seriesSvgBar=function(){var e=Ye().x(0).y(0),a=I(),n=v("g","bar"),l=function(e){return"vertical"===a.orient()?e.height:e.width},r=function(e){return"vertical"===a.orient()?e.width:e.height},o=function(e){return"translate("+e[0]+", "+e[1]+")"},h=function(i){i.selection&&n.transition(i),i.each(function(i,d,h){var c=a.orient();if("vertical"!==c&&"horizontal"!==c)throw new Error("The bar series does not support an orientation of "+c);var s=i.filter(a.defined()),u=s.map(a.values);e.width(0).height(0),"vertical"===a.orient()?(e.verticalAlign("top"),e.horizontalAlign("center")):(e.horizontalAlign("right"),e.verticalAlign("center"));var f=n(t.select(h[d]),s);f.enter().attr("transform",function(e,a){return o(u[a].baseOrigin)}).attr("class","bar "+a.orient()).attr("fill",C.darkGray).append("path").attr("d",function(a,t){return r(e)(u[t].width),e([a])}),f.attr("transform",function(e,a){return o(u[a].origin)}).select("path").attr("d",function(a,t){return r(e)(u[t].width),l(e)(-u[t].height),e([a])}),a.decorate()(f,s,d)})};return V(h,a),b(h,n,"key"),h},e.seriesSvgBoxPlot=function(){var e=je(),a=v("g","box-plot"),n=De().value(0),l=function(e){return function(a){return e.selection?a.transition(e):a}},r=function(e){return"translate("+e.origin[0]+", "+e.origin[1]+")"},o=function(i){i.selection&&a.transition(i);var o=l(i);i.each(function(l,i,d){var h=l.filter(e.defined()),c=a(t.select(d[i]),h);c.enter().attr("stroke",C.black).attr("fill",C.gray).attr("transform",function(a,t){return r(e.values(a,t))+" scale(1e-6, 1)"}).append("path"),n.orient(e.orient()),c.each(function(a,l,i){var d=e.values(a,l);n.median(d.median).upperQuartile(d.upperQuartile).lowerQuartile(d.lowerQuartile).width(d.width).high(d.high).low(d.low),o(t.select(i[l])).attr("transform",r(d)).select("path").attr("d",n([a]))}),e.decorate()(c,l,i)})};return V(o,e),b(o,a,"key"),b(o,n,"cap"),o},e.seriesSvgCandlestick=function(){return Oe(Ge(),"candlestick")},e.seriesSvgErrorBar=function(){var e=_e(),a=v("g","error-bar"),n=Fe().value(0),l=function(e){return function(a){return e.selection?a.transition(e):a}},r=function(e){return"translate("+e.origin[0]+", "+e.origin[1]+")"},o=function(i){i.selection&&a.transition(i);var o=l(i);i.each(function(l,i,d){var h=l.filter(e.defined()),c=h.map(e.values),s=a(t.select(d[i]),h);s.enter().attr("stroke",C.black).attr("fill",C.gray).attr("transform",function(a,t){return r(e.values(a,t))+" scale(1e-6, 1)"}).append("path"),n.orient(e.orient()),s.each(function(e,a,l){var i=c[a];n.high(i.high).low(i.low).width(i.width),o(t.select(l[a])).attr("transform",r(i)+" scale(1)").select("path").attr("d",n([e]))}),e.decorate()(s,l,i)})};return V(o,e),b(o,a,"key"),o},e.seriesSvgGrouped=function(e){var a=Ze(),n=v("g","grouped"),l=function(l){l.selection&&n.transition(l),l.each(function(l,i,d){var r=n(t.select(d[i]),l);r.enter().append("g"),r.select("g").each(function(n,r,o){var h=t.select(o[r]),c="horizontal"!==e.orient(),s=function(e,t){var n=a.offsetScaleForDatum(l,e,t),i=c?a.xScale():a.yScale();return i(e)+n(r)+n.bandwidth()/2};c?(e.xScale(s),e.yScale(a.yScale())):(e.yScale(s),e.xScale(a.xScale())),e.bandwidth&&e.bandwidth(function(e,t){return a.offsetScaleForDatum(l,e,t).bandwidth()}),e.decorate(function(e,t){return a.decorate()(e,t,r)}),h.call(e)})})};return V(l,e,A("decorate","xScale","yScale")),V(l,a,A("offsetScaleForDatum")),l},e.seriesSvgHeatmap=function(){var e=aa(),a=v("g","box"),n=function(e){return"translate("+e.x+", "+e.y+")"},l=function(l){l.each(function(l,i,d){var r=l.filter(e.defined()),o=e.colorValue(),h=e.colorInterpolate(),c=e.colorScale(r),s=a(t.select(d[i]),r);s.enter().append("path").attr("stroke","transparent"),s.attr("transform",function(a,t){return n(e.values(a,t))}).select("path").attr("d",function(a,t){return e.pathGenerator.width(e.values(a,t).width).height(e.values(a,t).height)([a])}).attr("fill",function(e,a){return h(c(o(e,a)))}),e.decorate()(s,l,i)})};return V(l,e),l},e.seriesSvgLine=R,e.seriesSvgMulti=Ke,e.seriesSvgOhlc=function(){return Oe(Ne(),"ohlc")},e.seriesSvgPoint=function(){var e=a.symbol(),n=I(),l=v("g","point"),r=function(e){return"translate("+e[0]+", "+e[1]+")"},o=function(a){a.selection&&l.transition(a),a.each(function(a,i,d){var o=a.filter(n.defined()),h=l(t.select(d[i]),o);h.enter().attr("transform",function(e,a){return r(n.values(e,a).origin)}).attr("fill",C.gray).attr("stroke",C.black).append("path"),h.attr("transform",function(e,a){return r(n.values(e,a).origin)}).select("path").attr("d",e),n.decorate()(h,a,i)})};return V(o,n,A("baseValue","bandwidth","align")),b(o,l,"key"),b(o,e,"type","size"),o},e.seriesSvgRepeat=function(){var e="vertical",a=R(),n=Ke(),l=function(l){return l.each(function(l,i,d){"vertical"===e?n.series(l[0].map(function(){return a})).mapping(function(e,a){return e.map(function(e){return e[a]})}):n.series(l.map(function(){return a})).mapping(function(e,a){return e[a]}),t.select(d[i]).call(n)})};return l.series=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],l):a},l.orient=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],l):e},V(l,n,A("series","mapping")),l},e.seriesWebglArea=function(){var e=I(),a=Re(),t=function(t){var n=j(e.xScale()),l=j(e.yScale()),r=new Float32Array(t.length),o=new Float32Array(t.length),h=new Float32Array(t.length),c=new Float32Array(t.length);t.forEach(function(a,t){r[t]=n.scale(e.crossValue()(a,t)),o[t]=l.scale(e.mainValue()(a,t)),h[t]=l.scale(e.baseValue()(a,t)),c[t]=e.defined()(a,t)}),a.xValues(r).yValues(o).y0Values(h).defined(c).xScale(n.glScale).yScale(l.glScale).decorate(function(a){return e.decorate()(a,t,0)}),a(t.length)};return V(t,e,A("bandwidth","align")),b(t,a,"context"),t},e.seriesWebglBar=function(){var e=I(),a=Pe(),t=function(t){var n=t.filter(e.defined()),l=j(e.xScale()),r=j(e.yScale()),o=new Float32Array(n.length),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length);n.forEach(function(a,t){o[t]=l.scale(e.crossValue()(a,t)),h[t]=r.scale(e.baseValue()(a,t)),c[t]=r.scale(e.mainValue()(a,t)),s[t]=r.scale(e.bandwidth()(a,t))}),a.xValues(o).y0Values(h).yValues(c).widths(s).xScale(l.glScale).yScale(r.glScale).decorate(function(a){e.decorate()(a,n,0)}),a(n.length)};return V(t,e,A("align")),b(t,a,"context"),t},e.seriesWebglBoxPlot=function(){var e=je(),a=E(.5),t=ze(),n=function(n){var l=n.filter(e.defined()),r=j(e.xScale()),o=j(e.yScale()),h=new Float32Array(l.length),c=new Float32Array(l.length),s=new Float32Array(l.length),g=new Float32Array(l.length),u=new Float32Array(l.length),f=new Float32Array(l.length),p=new Float32Array(l.length),y=new Float32Array(l.length);l.forEach(function(t,n){h[n]=r.scale(e.crossValue()(t,n)),c[n]=o.scale(e.medianValue()(t,n)),s[n]=o.scale(e.upperQuartileValue()(t,n)),g[n]=r.scale(e.lowerQuartileValue()(t,n)),u[n]=o.scale(e.highValue()(t,n)),f[n]=o.scale(e.lowValue()(t,n)),p[n]=e.bandwidth()(t,n),y[n]=p[n]*a(t,n)}),t.xValues(h).medianValues(c).upperQuartileValues(s).lowerQuartileValues(g).highValues(u).lowValues(f).bandwidth(p).capWidth(y).xScale(r.glScale).yScale(o.glScale),t(l.length)};return n.cap=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),n):a},V(n,e,A("align")),b(n,t,"context","lineWidth"),n},e.seriesWebglCandlestick=function(){return Me(Le())},e.seriesWebglErrorBar=function(){var e=_e(),a=Ie(),t=function(t){var n=t.filter(e.defined()),l=j(e.xScale()),r=j(e.yScale()),o=new Float32Array(n.length),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length);n.forEach(function(a,t){o[t]=l.scale(e.crossValue()(a,t)),h[t]=r.scale(e.highValue()(a,t)),c[t]=r.scale(e.lowValue()(a,t)),s[t]=e.bandwidth()(a,t)}),a.xValues(o).highValues(h).lowValues(c).bandwidth(s).xScale(l.glScale).yScale(r.glScale),a(n.length)};return V(t,e,A("align")),b(t,a,"context","lineWidth"),t},e.seriesWebglLine=function(){function e(){return"vertical"===a.orient()?{x:a.crossValue(),y:a.mainValue(),defined:a.defined()}:{x:a.mainValue(),y:a.crossValue(),defined:a.defined()}}var a=I(),t=Te(),n=function(n){var l=j(a.xScale()),r=j(a.yScale()),o=e(),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length);n.forEach(function(e,a){h[a]=l.scale(o.x(e,a)),c[a]=r.scale(o.y(e,a)),s[a]=o.defined(e,a)}),t.xValues(h).yValues(c).defined(s).xScale(l.glScale).yScale(r.glScale).decorate(function(e){a.decorate()(e,n,0)}),t(n.length)};return V(n,a,A("baseValue","bandwidth","align")),b(n,t,"context","lineWidth"),n},e.seriesWebglMulti=Je,e.seriesWebglOhlc=function(){return Me(Be())},e.seriesWebglPoint=function(){function e(){return"vertical"===a.orient()?{x:a.crossValue(),y:a.mainValue()}:{x:a.mainValue(),y:a.crossValue()}}var a=I(),t=64,n=y.symbolCircle,l=we(),i=function(i){var d=i.filter(a.defined()),r=j(a.xScale()),o=j(a.yScale()),h=ve(n),c=e(),s=new Float32Array(d.length),g=new Float32Array(d.length),u=new Float32Array(d.length);d.forEach(function(e,a){var n="function"==typeof t?t:function(){return t};s[a]=r.scale(c.x(e,a)),g[a]=o.scale(c.y(e,a)),u[a]=n(e)}),l.xValues(s).yValues(g).sizes(u).xScale(r.glScale).yScale(o.glScale).type(h).decorate(function(e){return a.decorate()(e,d,0)}),l(d.length)};return i.size=function(){return arguments.length?(t=0>=arguments.length?void 0:arguments[0],i):t},i.type=function(){return arguments.length?(n=0>=arguments.length?void 0:arguments[0],i):n},V(i,a,A("baseValue","bandwidth","align")),b(i,l,"context"),i},e.seriesWebglRepeat=$e,Object.defineProperty(e,"__esModule",{value:!0})});
`),e(h)};return h.xValues=e=>(l.data(e),h),h.medianValues=e=>{const a=i.data();return i.data({...a,median:e}),h},h.upperQuartileValues=e=>{const a=i.data();return i.data({...a,upperQuartile:e}),h},h.lowerQuartileValues=e=>{const a=i.data();return i.data({...a,lowerQuartile:e}),h},h.highValues=e=>{const a=i.data();return i.data({...a,high:e}),h},h.lowValues=e=>{const a=i.data();return i.data({...a,low:e}),h},h.bandwidth=e=>{const a=o.data();return o.data({...a,bandwidth:e}),h},h.capWidth=e=>{const a=o.data();return o.data({...a,capWidth:e}),h},h.xScale=(...e)=>e.length?(a=e[0],h):a,h.yScale=(...e)=>e.length?(t=e[0],h):t,b(h,e,"context"),b(h,n,"lineWidth"),h},We=e=>"function"==typeof e?e:()=>e,Ne=()=>{let e=null,a=e=>e.date,t=e=>e.open,n=e=>e.high,r=e=>e.low,o=e=>e.close,h="vertical",c=We(3);const s=function(i){const s=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=t(e,l),g=n(e,l),u=r(e,l),f=o(e,l),p=c(e,l)/2;"vertical"===h?(s.moveTo(i,u),s.lineTo(i,g),s.moveTo(i,d),s.lineTo(i-p,d),s.moveTo(i,f),s.lineTo(i+p,f)):(s.moveTo(u,i),s.lineTo(g,i),s.moveTo(d,i),s.lineTo(d,i+p),s.moveTo(f,i),s.lineTo(f,i-p))}),e?null:s.toString()};return s.context=(...a)=>a.length?(e=a[0],s):e,s.x=(...e)=>e.length?(a=We(e[0]),s):a,s.open=(...e)=>e.length?(t=We(e[0]),s):t,s.high=(...e)=>e.length?(n=We(e[0]),s):n,s.low=(...e)=>e.length?(r=We(e[0]),s):r,s.close=(...e)=>e.length?(o=We(e[0]),s):o,s.width=(...e)=>e.length?(c=We(e[0]),s):c,s.orient=(...e)=>e.length?(h=e[0],s):h,s},Ye=()=>{let e=null,a=e=>e.x,t=e=>e.y,n="center",i="center",r=e=>e.height,o=We(3);const h=function(d,h){const c=e||l.path();return d.forEach(function(e,l){const d=a.call(this,e,h||l),s=t.call(this,e,h||l),g=r.call(this,e,h||l),u=o.call(this,e,h||l);let f;switch(n){case"left":f=u;break;case"right":f=0;break;case"center":f=u/2;break;default:throw new Error("Invalid horizontal alignment "+n);}let p;switch(i){case"bottom":p=-g;break;case"top":p=0;break;case"center":p=g/2;break;default:throw new Error("Invalid vertical alignment "+i);}c.rect(d-f,s-p,u,g)},this),e?null:c.toString()};return h.context=(...a)=>a.length?(e=a[0],h):e,h.x=(...e)=>e.length?(a=We(e[0]),h):a,h.y=(...e)=>e.length?(t=We(e[0]),h):t,h.width=(...e)=>e.length?(o=We(e[0]),h):o,h.horizontalAlign=(...e)=>e.length?(n=e[0],h):n,h.height=(...e)=>e.length?(r=We(e[0]),h):r,h.verticalAlign=(...e)=>e.length?(i=e[0],h):i,h},Ge=()=>{let e=null,a=e=>e.date,t=e=>e.open,n=e=>e.high,r=e=>e.low,o=e=>e.close,h=We(3);const c=function(i){const c=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=t(e,l),s=n(e,l),g=r(e,l),p=o(e,l),y=h(e,l);c.rect(i-y/2,d,y,p-d),c.moveTo(i,f(p,d)),c.lineTo(i,s),c.moveTo(i,u(p,d)),c.lineTo(i,g)}),e?null:c.toString()};return c.context=(...a)=>a.length?(e=a[0],c):e,c.x=(...e)=>e.length?(a=We(e[0]),c):a,c.open=(...e)=>e.length?(t=We(e[0]),c):t,c.high=(...e)=>e.length?(n=We(e[0]),c):n,c.low=(...e)=>e.length?(r=We(e[0]),c):r,c.close=(...e)=>e.length?(o=We(e[0]),c):o,c.width=(...e)=>e.length?(h=We(e[0]),c):h,c},De=()=>{let e=null,a=e=>e.value,t=e=>e.median,n=e=>e.upperQuartile,r=e=>e.lowerQuartile,o=e=>e.high,h=e=>e.low,c="vertical",s=We(5),g=We(.5);const u=function(i){const u=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=s(e,l),f=d/2,p=d*g(e,l),y=p/2,m=o(e,l),x=n(e,l),v=t(e,l),S=r(e,l),b=h(e,l),w=S-x;"vertical"===c?(u.moveTo(i-y,m),u.lineTo(i+y,m),u.moveTo(i,m),u.lineTo(i,x),u.rect(i-f,x,d,w),u.moveTo(i-f,v),u.lineTo(i+f,v),u.moveTo(i,S),u.lineTo(i,b),u.moveTo(i-y,b),u.lineTo(i+y,b)):(u.moveTo(b,i-y),u.lineTo(b,i+y),u.moveTo(b,i),u.lineTo(S,i),u.rect(S,i-f,-w,d),u.moveTo(v,i-f),u.lineTo(v,i+f),u.moveTo(x,i),u.lineTo(m,i),u.moveTo(m,i-y),u.lineTo(m,i+y))}),e?null:u.toString()};return u.context=(...a)=>a.length?(e=a[0],u):e,u.value=(...e)=>e.length?(a=We(e[0]),u):a,u.median=(...e)=>e.length?(t=We(e[0]),u):t,u.upperQuartile=(...e)=>e.length?(n=We(e[0]),u):n,u.lowerQuartile=(...e)=>e.length?(r=We(e[0]),u):r,u.high=(...e)=>e.length?(o=We(e[0]),u):o,u.low=(...e)=>e.length?(h=We(e[0]),u):h,u.width=(...e)=>e.length?(s=We(e[0]),u):s,u.orient=(...e)=>e.length?(c=e[0],u):c,u.cap=(...e)=>e.length?(g=We(e[0]),u):g,u},Fe=()=>{let e=null,a=e=>e.x,t=e=>e.high,n=e=>e.low,r="vertical",o=We(5);const h=function(i){const h=e||l.path();return i.forEach(function(e,l){const i=a(e,l),d=o(e,l),c=d/2,s=t(e,l),g=n(e,l);"vertical"===r?(h.moveTo(i-c,s),h.lineTo(i+c,s),h.moveTo(i,s),h.lineTo(i,g),h.moveTo(i-c,g),h.lineTo(i+c,g)):(h.moveTo(g,i-c),h.lineTo(g,i+c),h.moveTo(g,i),h.lineTo(s,i),h.moveTo(s,i-c),h.lineTo(s,i+c))}),e?null:h.toString()};return h.context=(...a)=>a.length?(e=a[0],h):e,h.value=(...e)=>e.length?(a=We(e[0]),h):a,h.high=(...e)=>e.length?(t=We(e[0]),h):t,h.low=(...e)=>e.length?(n=We(e[0]),h):n,h.width=(...e)=>e.length?(o=We(e[0]),h):o,h.orient=(...e)=>e.length?(r=e[0],h):r,h},_e=function(){var e=function(e){return e.high},a=function(e){return e.low},t=function(e){return e.cross},l="vertical",r="center",h=function(){return 5},c=k({decorate:function(){},defined:function(n,l){return o(a,e,t)(n,l)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return c.values=function(n,d){var i=h(n,d),o=P(r,i),s=c.xScale(),g=c.yScale();if("vertical"===l){var u=g(e(n,d));return{origin:[s(t(n,d))+o,u],high:0,low:g(a(n,d))-u,width:i}}var f=s(a(n,d));return{origin:[f,g(t(n,d))+o],high:s(e(n,d))-f,low:0,width:i}},c.xValues=function(){return"vertical"===l?[t]:[e,a]},c.yValues=function(){return"vertical"===l?[e,a]:[t]},c.orient=function(){return arguments.length?(l=0>=arguments.length?void 0:arguments[0],c):l},c.lowValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),c):a},c.highValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),c):e},c.crossValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),c):t},c.bandwidth=function(){return arguments.length?(h=E(0>=arguments.length?void 0:arguments[0]),c):h},c.align=function(){return arguments.length?(r=0>=arguments.length?void 0:arguments[0],c):r},c},Xe=function(){var e,a=function(e){return e.date},t=function(e){return e.open},l=function(e){return e.high},r=function(e){return e.low},h=function(e){return e.close},c=function(){return 5},s="center",g=function(t,n){return e.xScale()(a(t,n))};return e=k({decorate:function(){},defined:function(e,n){return o(a,t,r,l,h)(e,n)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()}),e.values=function(a,n){var i=h(a,n),d=t(a,n),o=c(a,n),u=P(s,o),f="";return i>d?f="up":i<d&&(f="down"),{cross:g(a,n)+u,open:e.yScale()(d),high:e.yScale()(l(a,n)),low:e.yScale()(r(a,n)),close:e.yScale()(i),width:o,direction:f}},e.xValues=function(){return[a]},e.yValues=function(){return[t,l,r,h]},e.crossValue=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],e):a},e.openValue=function(){return arguments.length?(t=0>=arguments.length?void 0:arguments[0],e):t},e.highValue=function(){return arguments.length?(l=0>=arguments.length?void 0:arguments[0],e):l},e.lowValue=function(){return arguments.length?(r=0>=arguments.length?void 0:arguments[0],e):r},e.yValue=e.closeValue=function(){return arguments.length?(h=0>=arguments.length?void 0:arguments[0],e):h},e.bandwidth=function(){return arguments.length?(c=E(0>=arguments.length?void 0:arguments[0]),e):c},e.align=function(){return arguments.length?(s=0>=arguments.length?void 0:arguments[0],e):s},e},Oe=function(e,a){var n=Xe(),l=v("g",a),r=function(e){return"translate("+e.cross+", "+e.high+")"},o=function(e){return function(a){return e.selection?a.transition(e):a}},h=function(i){i.selection&&l.transition(i);var h=o(i);i.each(function(i,d,o){var c=i.filter(n.defined()),s=l(t.select(o[d]),c);s.enter().attr("transform",function(e,a){return r(n.values(e,a))+" scale(1e-6, 1)"}).append("path"),s.each(function(l,d,i){var o=n.values(l,d),c="up"===o.direction?C.green:C.red,s=h(t.select(i[d])).attr("class",a+" "+o.direction).attr("stroke",c).attr("fill",c).attr("transform",function(){return r(o)+" scale(1)"});e.x(0).width(o.width).open(function(){return o.open-o.high}).high(0).low(function(){return o.low-o.high}).close(function(){return o.close-o.high}),s.select("path").attr("d",e([l]))}),n.decorate()(s,i,d)})};return b(h,l,"key"),V(h,n),h},Ue=function(e){var a=Xe(),t=function(t){var n=t.filter(a.defined()),l=e.context();n.forEach(function(t,n){l.save();var i=a.values(t,n);l.translate(i.cross,i.high),l.beginPath(),e.x(0).open(function(){return i.open-i.high}).width(i.width).high(0).low(function(){return i.low-i.high}).close(function(){return i.close-i.high})([t]);var d="up"===i.direction?C.green:C.red;l.strokeStyle=d,l.fillStyle=d,a.decorate()(l,t,n),l.fill(),l.stroke(),l.closePath(),l.restore()})};return b(t,e,"context"),V(t,a),t},Me=function(e){var a=Xe(),t=function(t){var n=t.filter(a.defined()),l=j(a.xScale()),r=j(a.yScale()),o=new Float32Array(n.length),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length),g=new Float32Array(n.length),u=new Float32Array(n.length);n.forEach(function(e,t){o[t]=l.scale(a.crossValue()(e,t)),h[t]=r.scale(a.openValue()(e,t)),c[t]=r.scale(a.highValue()(e,t)),s[t]=r.scale(a.lowValue()(e,t)),g[t]=r.scale(a.closeValue()(e,t)),u[t]=a.bandwidth()(e,t)}),e.xValues(o).openValues(h).highValues(c).lowValues(s).closeValues(g).bandwidth(u).xScale(l.glScale).yScale(r.glScale).decorate(function(e){return a.decorate()(e,n,0)}),e(n.length)};return V(t,a,A("align")),b(t,e,"context","lineWidth"),t},je=function(){var e=function(e){return e.upperQuartile},a=function(e){return e.lowerQuartile},t=function(e){return e.high},l=function(e){return e.low},r=function(e){return e.value},h=function(e){return e.median},c="vertical",s="center",g=function(){return 5},u=k({decorate:function(){},defined:function(n,d){return o(l,t,a,e,r,h)(n,d)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return u.values=function(n,d){var i=g(n,d),o=P(s,i),f=u.xScale(),p=u.yScale();if("vertical"===c){var m=p(t(n,d));return{origin:[f(r(n,d))+o,m],high:0,upperQuartile:p(e(n,d))-m,median:p(h(n,d))-m,lowerQuartile:p(a(n,d))-m,low:p(l(n,d))-m,width:i}}var y=f(l(n,d));return{origin:[y,p(r(n,d))+o],high:f(t(n,d))-y,upperQuartile:f(e(n,d))-y,median:f(h(n,d))-y,lowerQuartile:f(a(n,d))-y,low:0,width:i}},u.xValues=function(){return"vertical"===c?[r]:[e,a,t,l,h]},u.yValues=function(){return"vertical"===c?[e,a,t,l,h]:[r]},u.orient=function(){return arguments.length?(c=0>=arguments.length?void 0:arguments[0],u):c},u.lowerQuartileValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),u):a},u.upperQuartileValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),u):e},u.lowValue=function(){return arguments.length?(l=E(0>=arguments.length?void 0:arguments[0]),u):l},u.highValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),u):t},u.crossValue=function(){return arguments.length?(r=E(0>=arguments.length?void 0:arguments[0]),u):r},u.medianValue=function(){return arguments.length?(h=E(0>=arguments.length?void 0:arguments[0]),u):h},u.bandwidth=function(){return arguments.length?(g=E(0>=arguments.length?void 0:arguments[0]),u):g},u.align=function(){return arguments.length?(s=0>=arguments.length?void 0:arguments[0],u):s},u},qe=function(){var e=[],a=function(e){return e},t=function(e,a){return a},l=k({decorate:function(){},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return l.xValues=function(){return e.map(function(e){return e.xValues()}).reduce(function(e,a){return e.concat(a)})},l.yValues=function(){return e.map(function(e){return e.yValues()}).reduce(function(e,a){return e.concat(a)})},l.mapping=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],l):a},l.key=function(){return arguments.length?(t=0>=arguments.length?void 0:arguments[0],l):t},l.series=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],l):e},l},Ke=function(){var e=qe(),a=v("g"),n=v("g","multi"),l=function(l){l.selection&&(n.transition(l),a.transition(l));var i=e.mapping(),d=e.series(),r=e.xScale(),o=e.yScale();l.each(function(l,h,c){var s=n(t.select(c[h]),d);s.each(function(e,n,h){e.xScale(r).yScale(o);var c=i(l,n,d),s=a(t.select(h[n]),[c]);s.call(e)});var g=s.selection?s.selection():s;g.order(),e.decorate()(s,l,h)})};return V(l,e),b(l,n,"key"),l},Je=function(){var e=null,a=qe(),t=function(t){var n=a.mapping(),l=a.series(),i=a.xScale(),d=a.yScale();l.forEach(function(r,o){var h=n(t,o,l);r.context(e).xScale(i).yScale(d);var s;r.decorate?(s=r.decorate(),r.decorate(function(e,n,l){a.decorate()(e,t,o),s(e,n,l)})):a.decorate()(e,t,o),r(h),s&&r.decorate(s)})};return t.context=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],t):e},V(t,a),t},Ze=function(){var e=function(){return 50},a="center",t=n.scaleBand(),l=k({decorate:function(){},xScale:n.scaleLinear(),yScale:n.scaleLinear()});return l.offsetScaleForDatum=function(n,l,d){var i=e(l,d),o=P(a,i),h=i/2;return t.domain(r.range(0,n.length)).range([-h+o,h+o])},l.bandwidth=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),l):e},l.align=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],l):a},V(l,t,B({paddingInner:"paddingOuter"})),l},$e=function(){var e="vertical",a=H(),t=Je(),n=function(n){"vertical"===e?t.series(n[0].map(function(){return a})).mapping(function(e,a){return e.map(function(e){return e[a]})}):t.series(n.map(function(){return a})).mapping(function(e,a){return e[a]}),t(n)};return n.series=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],n):a},n.orient=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],n):e},V(n,t,A("series","mapping")),n},ea=function(e){return e.sort(r.ascending).filter(function(e,a,t){return-1===t.indexOf(e,a+1)})},aa=function(){var e=function(e){return e.x},a=function(e){return e.y},t=function(e){return e.color},l=function(){return 5},h=function(){return 5},c=n.interpolateViridis,s=k({decorate:function(){},defined:function(n,l){return o(e,a,t)(n,l)},xScale:n.scaleIdentity(),yScale:n.scaleIdentity()});return s.pathGenerator=Ye().x(0).y(0),s.colorScale=function(e){var a=e.map(t);return n.scaleLinear().domain([r.min(a),r.max(a)])},s.values=function(n,d){return{x:s.xScale()(e(n,d)),y:s.yScale()(a(n,d)),colorValue:t(n,d),width:h(n,d),height:l(n,d)}},s.xValues=function(){return[e]},s.yValues=function(){return[a]},s.xValue=function(){return arguments.length?(e=E(0>=arguments.length?void 0:arguments[0]),s):e},s.yValue=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),s):a},s.colorValue=function(){return arguments.length?(t=E(0>=arguments.length?void 0:arguments[0]),s):t},s.colorInterpolate=function(){return arguments.length?(c=0>=arguments.length?void 0:arguments[0],s):c},s.xBandwidth=function(){return arguments.length?(h=E(0>=arguments.length?void 0:arguments[0]),s):h},s.yBandwidth=function(){return arguments.length?(l=E(0>=arguments.length?void 0:arguments[0]),s):l},V(s,s.pathGenerator,B({horizontalAlign:"xAlign",verticalAlign:"yAlign"})),s};e.autoBandwidth=function(e){var a=.75,n=function(e){if(1>=e.length)return 10;e=ea(e);var t=r.pairs(e).map(function(e){return p(e[0]-e[1])}),n=r.min(t);return a*n},l=function(a,t,l){if(a.bandwidth)return a.bandwidth();var i,d=Array.isArray(t)?(i=[]).concat.apply(i,h(t)):t,r=d.filter(e.defined()).map(l()).map(a),o=n(r);return o},i=function(a){var n=function(a){if(e.xBandwidth&&e.yBandwidth)e.xBandwidth(l(e.xScale(),a,e.xValue)),e.yBandwidth(l(e.yScale(),a,e.yValue));else{var t=e.orient&&"horizontal"===e.orient()?e.yScale():e.xScale();e.bandwidth(l(t,a,e.crossValue))}};a instanceof t.selection?a.each(function(a,l,i){n(a),e(t.select(i[l]))}):(n(a),e(a))};return V(i,e),i.widthFraction=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],i):a},i},e.seriesCanvasArea=function(){var e=I(),t=a.area(),n=function(a){var n=t.context();t.defined(e.defined());var l=a.map(e.values);t.x(function(e,a){return l[a].transposedX}).y(function(e,a){return l[a].transposedY});var i="vertical"===e.orient()?"y":"x";t[i+"0"](function(e,a){return l[a].y0}),t[i+"1"](function(e,a){return l[a].y}),n.beginPath(),n.fillStyle=C.gray,n.strokeStyle="transparent",e.decorate()(n,a),t(a),n.fill(),n.stroke(),n.closePath()};return V(n,e,A("bandwidth","align")),b(n,t,"curve","context"),n},e.seriesCanvasBar=function(){var e=I(),a=Ye().x(0).y(0),t=function(a){return"vertical"===e.orient()?a.height:a.width},n=function(a){return"vertical"===e.orient()?a.width:a.height},l=function(l){var d=a.context(),r=l.filter(e.defined()),o=r.map(e.values);"vertical"===e.orient()?(a.verticalAlign("top"),a.horizontalAlign("center")):(a.horizontalAlign("right"),a.verticalAlign("center")),o.forEach(function(l,r){d.save(),d.beginPath(),d.translate(l.origin[0],l.origin[1]),d.fillStyle=C.darkGray,d.strokeStyle="transparent",e.decorate()(d,l.d,r),t(a)(-l.height),n(a)(l.width),a([l]),d.fill(),d.stroke(),d.closePath(),d.restore()})};return V(l,e),b(l,a,"context"),l},e.seriesCanvasBoxPlot=function(){var e=je(),a=De().value(0),t=function(t){var n=t.filter(e.defined()),l=a.context();a.orient(e.orient()),n.forEach(function(t,n){l.save();var i=e.values(t,n);l.translate(i.origin[0],i.origin[1]),l.beginPath(),l.fillStyle=C.gray,l.strokeStyle=C.black,e.decorate()(l,t,n),a.median(i.median).upperQuartile(i.upperQuartile).lowerQuartile(i.lowerQuartile).high(i.high).width(i.width).low(i.low)([t]),l.fill(),l.stroke(),l.closePath(),l.restore()})};return V(t,e),b(t,a,"cap","context"),t},e.seriesCanvasCandlestick=function(){return Ue(Ge())},e.seriesCanvasErrorBar=function(){var e=_e(),a=Fe().value(0),t=function(t){var n=t.filter(e.defined()),l=a.context();a.orient(e.orient()),n.forEach(function(t,n){l.save();var i=e.values(t,n);l.translate(i.origin[0],i.origin[1]),l.beginPath(),l.strokeStyle=C.black,l.fillStyle=C.gray,e.decorate()(l,t,n),a.high(i.high).width(i.width).low(i.low)([t]),l.fill(),l.stroke(),l.closePath(),l.restore()})};return V(t,e),b(t,a,"context"),t},e.seriesCanvasGrouped=function(e){var a=Ze(),t=function(t){t.forEach(function(n,l){var r="horizontal"!==e.orient(),o=function(e,n){var i=a.offsetScaleForDatum(t,e,n),d=r?a.xScale():a.yScale();return d(e)+i(l)+i.bandwidth()/2};r?(e.xScale(o),e.yScale(a.yScale())):(e.yScale(o),e.xScale(a.xScale())),e.bandwidth&&e.bandwidth(function(e,n){return a.offsetScaleForDatum(t,e,n).bandwidth()}),e.decorate(function(e,t){return a.decorate()(e,t,l)}),e(n)})};return V(t,e,A("decorate","xScale","yScale")),V(t,a,A("offsetScaleForDatum")),t},e.seriesCanvasHeatmap=function(){var e=aa(),a=function(a){var t=a.filter(e.defined()),n=e.colorInterpolate(),l=e.colorScale(t),r=e.pathGenerator.context();t.forEach(function(a,t){r.save(),r.beginPath();var i=e.values(a,t);r.translate(i.x,i.y),r.fillStyle=n(l(i.colorValue)),r.strokeStyle="transparent",e.decorate()(r,a,t),e.pathGenerator.height(i.height).width(i.width)([a]),r.fill(),r.stroke(),r.closePath(),r.restore()})};return b(a,e.pathGenerator,"context"),V(a,e),a},e.seriesCanvasLine=H,e.seriesCanvasMulti=Je,e.seriesCanvasOhlc=function(){return Ue(Ne())},e.seriesCanvasPoint=function(){var e=a.symbol(),t=I(),n=function(a){var n=a.filter(t.defined()),l=e.context();n.forEach(function(a,n){l.save();var i=t.values(a,n);l.translate(i.origin[0],i.origin[1]),l.beginPath(),l.strokeStyle=C.black,l.fillStyle=C.gray,t.decorate()(l,a,n),e(a,n),l.fill(),l.stroke(),l.closePath(),l.restore()})};return V(n,t,A("baseValue","bandwidth","align")),b(n,e,"size","type","context"),n},e.seriesCanvasRepeat=$e,e.seriesSvgArea=function(){var e=I(),n=a.area(),l=v("path","area"),i=function(a){a.selection&&l.transition(a),n.defined(e.defined()),a.each(function(a,i,d){var r=a.map(e.values);n.x(function(e,a){return r[a].transposedX}).y(function(e,a){return r[a].transposedY});var o="vertical"===e.orient()?"y":"x";n[o+"0"](function(e,a){return r[a].y0}),n[o+"1"](function(e,a){return r[a].y});var h=l(t.select(d[i]),[a]);h.enter().attr("fill",C.gray),h.attr("d",n),e.decorate()(h,a,i)})};return V(i,e,A("bandwidth","align")),b(i,l,"key"),b(i,n,"curve"),i},e.seriesSvgBar=function(){var e=Ye().x(0).y(0),a=I(),n=v("g","bar"),l=function(e){return"vertical"===a.orient()?e.height:e.width},r=function(e){return"vertical"===a.orient()?e.width:e.height},o=function(e){return"translate("+e[0]+", "+e[1]+")"},h=function(i){i.selection&&n.transition(i),i.each(function(i,d,h){var c=a.orient();if("vertical"!==c&&"horizontal"!==c)throw new Error("The bar series does not support an orientation of "+c);var s=i.filter(a.defined()),u=s.map(a.values);e.width(0).height(0),"vertical"===a.orient()?(e.verticalAlign("top"),e.horizontalAlign("center")):(e.horizontalAlign("right"),e.verticalAlign("center"));var f=n(t.select(h[d]),s);f.enter().attr("transform",function(e,a){return o(u[a].baseOrigin)}).attr("class","bar "+a.orient()).attr("fill",C.darkGray).append("path").attr("d",function(a,t){return r(e)(u[t].width),e([a])}),f.attr("transform",function(e,a){return o(u[a].origin)}).select("path").attr("d",function(a,t){return r(e)(u[t].width),l(e)(-u[t].height),e([a])}),a.decorate()(f,s,d)})};return V(h,a),b(h,n,"key"),h},e.seriesSvgBoxPlot=function(){var e=je(),a=v("g","box-plot"),n=De().value(0),l=function(e){return function(a){return e.selection?a.transition(e):a}},r=function(e){return"translate("+e.origin[0]+", "+e.origin[1]+")"},o=function(i){i.selection&&a.transition(i);var o=l(i);i.each(function(l,i,d){var h=l.filter(e.defined()),c=a(t.select(d[i]),h);c.enter().attr("stroke",C.black).attr("fill",C.gray).attr("transform",function(a,t){return r(e.values(a,t))+" scale(1e-6, 1)"}).append("path"),n.orient(e.orient()),c.each(function(a,l,i){var d=e.values(a,l);n.median(d.median).upperQuartile(d.upperQuartile).lowerQuartile(d.lowerQuartile).width(d.width).high(d.high).low(d.low),o(t.select(i[l])).attr("transform",r(d)).select("path").attr("d",n([a]))}),e.decorate()(c,l,i)})};return V(o,e),b(o,a,"key"),b(o,n,"cap"),o},e.seriesSvgCandlestick=function(){return Oe(Ge(),"candlestick")},e.seriesSvgErrorBar=function(){var e=_e(),a=v("g","error-bar"),n=Fe().value(0),l=function(e){return function(a){return e.selection?a.transition(e):a}},r=function(e){return"translate("+e.origin[0]+", "+e.origin[1]+")"},o=function(i){i.selection&&a.transition(i);var o=l(i);i.each(function(l,i,d){var h=l.filter(e.defined()),c=h.map(e.values),s=a(t.select(d[i]),h);s.enter().attr("stroke",C.black).attr("fill",C.gray).attr("transform",function(a,t){return r(e.values(a,t))+" scale(1e-6, 1)"}).append("path"),n.orient(e.orient()),s.each(function(e,a,l){var i=c[a];n.high(i.high).low(i.low).width(i.width),o(t.select(l[a])).attr("transform",r(i)+" scale(1)").select("path").attr("d",n([e]))}),e.decorate()(s,l,i)})};return V(o,e),b(o,a,"key"),o},e.seriesSvgGrouped=function(e){var a=Ze(),n=v("g","grouped"),l=function(l){l.selection&&n.transition(l),l.each(function(l,i,d){var r=n(t.select(d[i]),l);r.enter().append("g"),r.select("g").each(function(n,r,o){var h=t.select(o[r]),c="horizontal"!==e.orient(),s=function(e,t){var n=a.offsetScaleForDatum(l,e,t),i=c?a.xScale():a.yScale();return i(e)+n(r)+n.bandwidth()/2};c?(e.xScale(s),e.yScale(a.yScale())):(e.yScale(s),e.xScale(a.xScale())),e.bandwidth&&e.bandwidth(function(e,t){return a.offsetScaleForDatum(l,e,t).bandwidth()}),e.decorate(function(e,t){return a.decorate()(e,t,r)}),h.call(e)})})};return V(l,e,A("decorate","xScale","yScale")),V(l,a,A("offsetScaleForDatum")),l},e.seriesSvgHeatmap=function(){var e=aa(),a=v("g","box"),n=function(e){return"translate("+e.x+", "+e.y+")"},l=function(l){l.each(function(l,i,d){var r=l.filter(e.defined()),o=e.colorValue(),h=e.colorInterpolate(),c=e.colorScale(r),s=a(t.select(d[i]),r);s.enter().append("path").attr("stroke","transparent"),s.attr("transform",function(a,t){return n(e.values(a,t))}).select("path").attr("d",function(a,t){return e.pathGenerator.width(e.values(a,t).width).height(e.values(a,t).height)([a])}).attr("fill",function(e,a){return h(c(o(e,a)))}),e.decorate()(s,l,i)})};return V(l,e),l},e.seriesSvgLine=R,e.seriesSvgMulti=Ke,e.seriesSvgOhlc=function(){return Oe(Ne(),"ohlc")},e.seriesSvgPoint=function(){var e=a.symbol(),n=I(),l=v("g","point"),r=function(e){return"translate("+e[0]+", "+e[1]+")"},o=function(a){a.selection&&l.transition(a),a.each(function(a,i,d){var o=a.filter(n.defined()),h=l(t.select(d[i]),o);h.enter().attr("transform",function(e,a){return r(n.values(e,a).origin)}).attr("fill",C.gray).attr("stroke",C.black).append("path"),h.attr("transform",function(e,a){return r(n.values(e,a).origin)}).select("path").attr("d",e),n.decorate()(h,a,i)})};return V(o,n,A("baseValue","bandwidth","align")),b(o,l,"key"),b(o,e,"type","size"),o},e.seriesSvgRepeat=function(){var e="vertical",a=R(),n=Ke(),l=function(l){return l.each(function(l,i,d){"vertical"===e?n.series(l[0].map(function(){return a})).mapping(function(e,a){return e.map(function(e){return e[a]})}):n.series(l.map(function(){return a})).mapping(function(e,a){return e[a]}),t.select(d[i]).call(n)})};return l.series=function(){return arguments.length?(a=0>=arguments.length?void 0:arguments[0],l):a},l.orient=function(){return arguments.length?(e=0>=arguments.length?void 0:arguments[0],l):e},V(l,n,A("series","mapping")),l},e.seriesWebglArea=function(){var e=I(),a=Re(),t=function(t){var n=j(e.xScale()),l=j(e.yScale()),r=new Float32Array(t.length),o=new Float32Array(t.length),h=new Float32Array(t.length),c=new Float32Array(t.length);t.forEach(function(a,t){r[t]=n.scale(e.crossValue()(a,t)),o[t]=l.scale(e.mainValue()(a,t)),h[t]=l.scale(e.baseValue()(a,t)),c[t]=e.defined()(a,t)}),a.xValues(r).yValues(o).y0Values(h).defined(c).xScale(n.glScale).yScale(l.glScale).decorate(function(a){return e.decorate()(a,t,0)}),a(t.length)};return V(t,e,A("bandwidth","align")),b(t,a,"context"),t},e.seriesWebglBar=function(){var e=I(),a=Pe(),t=function(t){var n=t.filter(e.defined()),l=j(e.xScale()),r=j(e.yScale()),o=new Float32Array(n.length),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length);n.forEach(function(a,t){o[t]=l.scale(e.crossValue()(a,t)),h[t]=r.scale(e.baseValue()(a,t)),c[t]=r.scale(e.mainValue()(a,t)),s[t]=r.scale(e.bandwidth()(a,t))}),a.xValues(o).y0Values(h).yValues(c).widths(s).xScale(l.glScale).yScale(r.glScale).decorate(function(a){e.decorate()(a,n,0)}),a(n.length)};return V(t,e,A("align")),b(t,a,"context"),t},e.seriesWebglBoxPlot=function(){var e=je(),a=E(.5),t=ze(),n=function(n){var l=n.filter(e.defined()),r=j(e.xScale()),o=j(e.yScale()),h=new Float32Array(l.length),c=new Float32Array(l.length),s=new Float32Array(l.length),g=new Float32Array(l.length),u=new Float32Array(l.length),f=new Float32Array(l.length),p=new Float32Array(l.length),y=new Float32Array(l.length);l.forEach(function(t,n){h[n]=r.scale(e.crossValue()(t,n)),c[n]=o.scale(e.medianValue()(t,n)),s[n]=o.scale(e.upperQuartileValue()(t,n)),g[n]=r.scale(e.lowerQuartileValue()(t,n)),u[n]=o.scale(e.highValue()(t,n)),f[n]=o.scale(e.lowValue()(t,n)),p[n]=e.bandwidth()(t,n),y[n]=p[n]*a(t,n)}),t.xValues(h).medianValues(c).upperQuartileValues(s).lowerQuartileValues(g).highValues(u).lowValues(f).bandwidth(p).capWidth(y).xScale(r.glScale).yScale(o.glScale),t(l.length)};return n.cap=function(){return arguments.length?(a=E(0>=arguments.length?void 0:arguments[0]),n):a},V(n,e,A("align")),b(n,t,"context","lineWidth"),n},e.seriesWebglCandlestick=function(){return Me(Le())},e.seriesWebglErrorBar=function(){var e=_e(),a=Ie(),t=function(t){var n=t.filter(e.defined()),l=j(e.xScale()),r=j(e.yScale()),o=new Float32Array(n.length),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length);n.forEach(function(a,t){o[t]=l.scale(e.crossValue()(a,t)),h[t]=r.scale(e.highValue()(a,t)),c[t]=r.scale(e.lowValue()(a,t)),s[t]=e.bandwidth()(a,t)}),a.xValues(o).highValues(h).lowValues(c).bandwidth(s).xScale(l.glScale).yScale(r.glScale),a(n.length)};return V(t,e,A("align")),b(t,a,"context","lineWidth"),t},e.seriesWebglLine=function(){function e(){return"vertical"===a.orient()?{x:a.crossValue(),y:a.mainValue(),defined:a.defined()}:{x:a.mainValue(),y:a.crossValue(),defined:a.defined()}}var a=I(),t=Te(),n=function(n){var l=j(a.xScale()),r=j(a.yScale()),o=e(),h=new Float32Array(n.length),c=new Float32Array(n.length),s=new Float32Array(n.length);n.forEach(function(e,a){h[a]=l.scale(o.x(e,a)),c[a]=r.scale(o.y(e,a)),s[a]=o.defined(e,a)}),t.xValues(h).yValues(c).defined(s).xScale(l.glScale).yScale(r.glScale).decorate(function(e){a.decorate()(e,n,0)}),t(n.length)};return V(n,a,A("baseValue","bandwidth","align")),b(n,t,"context","lineWidth"),n},e.seriesWebglMulti=Je,e.seriesWebglOhlc=function(){return Me(Be())},e.seriesWebglPoint=function(){function e(){return"vertical"===a.orient()?{x:a.crossValue(),y:a.mainValue()}:{x:a.mainValue(),y:a.crossValue()}}var a=I(),t=64,n=y.symbolCircle,l=we(),i=function(i){var d=i.filter(a.defined()),r=j(a.xScale()),o=j(a.yScale()),h=ve(n),c=e(),s=new Float32Array(d.length),g=new Float32Array(d.length),u=new Float32Array(d.length);d.forEach(function(e,a){var n="function"==typeof t?t:function(){return t};s[a]=r.scale(c.x(e,a)),g[a]=o.scale(c.y(e,a)),u[a]=n(e)}),l.xValues(s).yValues(g).sizes(u).xScale(r.glScale).yScale(o.glScale).type(h).decorate(function(e){return a.decorate()(e,d,0)}),l(d.length)};return i.size=function(){return arguments.length?(t=0>=arguments.length?void 0:arguments[0],i):t},i.type=function(){return arguments.length?(n=0>=arguments.length?void 0:arguments[0],i):n},V(i,a,A("baseValue","bandwidth","align")),b(i,l,"context"),i},e.seriesWebglRepeat=$e,Object.defineProperty(e,"__esModule",{value:!0})});

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

## [4.3.5](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-series@4.3.4...@d3fc/d3fc-series@4.3.5) (2020-01-21)
### Bug Fixes
* ensure decorate function is invoked before path rendering ([#1394](https://github.com/d3fc/d3fc/issues/1394)) ([6bafc84](https://github.com/d3fc/d3fc/commit/6bafc84))
## [4.3.4](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-series@4.3.3...@d3fc/d3fc-series@4.3.4) (2020-01-21)

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

{
"name": "@d3fc/d3fc-series",
"version": "4.3.4",
"version": "4.3.5",
"description": "A collection of components for rendering data series to SVG and canvas, including line, bar, OHLC, candlestick and more",

@@ -44,3 +44,3 @@ "license": "MIT",

},
"gitHead": "4c8367c200d13afbb0652c9e39b6983b92b46686"
"gitHead": "786820bdc99d786554a7177d783ec25ce8af214a"
}

@@ -25,3 +25,3 @@ import {area as areaShape} from 'd3-shape';

context.beginPath();
areaData(data);
context.fillStyle = colors.gray;

@@ -32,2 +32,4 @@ context.strokeStyle = 'transparent';

areaData(data);
context.fill();

@@ -34,0 +36,0 @@ context.stroke();

@@ -38,2 +38,6 @@ import {shapeBar} from '@d3fc/d3fc-shape';

context.fillStyle = colors.darkGray;
context.strokeStyle = 'transparent';
base.decorate()(context, datum.d, i);
valueAxisDimension(pathGenerator)(-datum.height);

@@ -43,5 +47,2 @@ crossAxisDimension(pathGenerator)(datum.width);

context.fillStyle = colors.darkGray;
context.strokeStyle = 'transparent';
base.decorate()(context, datum.d, i);
context.fill();

@@ -48,0 +49,0 @@ context.stroke();

@@ -26,2 +26,7 @@ import { shapeBoxPlot } from '@d3fc/d3fc-shape';

context.fillStyle = colors.gray;
context.strokeStyle = colors.black;
base.decorate()(context, d, i);
pathGenerator.median(values.median)

@@ -34,7 +39,2 @@ .upperQuartile(values.upperQuartile)

context.fillStyle = colors.gray;
context.strokeStyle = colors.black;
base.decorate()(context, d, i);
context.fill();

@@ -41,0 +41,0 @@ context.stroke();

@@ -26,6 +26,2 @@ import { shapeErrorBar } from '@d3fc/d3fc-shape';

pathGenerator.high(values.high)
.width(values.width)
.low(values.low)([d]);
context.strokeStyle = colors.black;

@@ -36,2 +32,6 @@ context.fillStyle = colors.gray;

pathGenerator.high(values.high)
.width(values.width)
.low(values.low)([d]);
context.fill();

@@ -38,0 +38,0 @@ context.stroke();

@@ -24,7 +24,7 @@ import heatmapBase from '../heatmapBase';

base.decorate()(context, d, i);
base.pathGenerator.height(values.height)
.width(values.width)([d]);
base.decorate()(context, d, i);
context.fill();

@@ -31,0 +31,0 @@ context.stroke();

@@ -17,3 +17,3 @@ import {line as lineShape} from 'd3-shape';

context.beginPath();
lineData.defined(base.defined())(data);
context.strokeStyle = colors.black;

@@ -24,2 +24,4 @@ context.fillStyle = 'transparent';

lineData.defined(base.defined())(data);
context.fill();

@@ -26,0 +28,0 @@ context.stroke();

@@ -23,4 +23,2 @@ import {symbol as symbolShape} from 'd3-shape';

symbol(d, i);
context.strokeStyle = colors.black;

@@ -31,2 +29,4 @@ context.fillStyle = colors.gray;

symbol(d, i);
context.fill();

@@ -33,0 +33,0 @@ context.stroke();

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

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