@feedzai/brushable-histogram
Advanced tools
Comparing version 1.1.3 to 1.1.4
# Brushable Histogram | ||
## 1.1.4 (2018/12/26) | ||
- Handles the case when `props.data` is empty | ||
- Fixes error when switching between storybook stores | ||
## 1.1.3 (2018/12/23) | ||
@@ -4,0 +8,0 @@ - Fixes tooltip not rendering properlly (it appeared and disappeared) |
{"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/canvasRenderUtils.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/canvasRenderUtils.js","statementMap":{"0":{"start":{"line":22,"column":4},"end":{"line":22,"column":36}},"1":{"start":{"line":32,"column":4},"end":{"line":32,"column":19}},"2":{"start":{"line":33,"column":4},"end":{"line":33,"column":43}},"3":{"start":{"line":47,"column":4},"end":{"line":47,"column":30}},"4":{"start":{"line":49,"column":4},"end":{"line":49,"column":107}},"5":{"start":{"line":51,"column":4},"end":{"line":51,"column":48}}},"fnMap":{"0":{"name":"getRenderContext","decl":{"start":{"line":21,"column":16},"end":{"line":21,"column":32}},"loc":{"start":{"line":21,"column":42},"end":{"line":23,"column":1}},"line":21},"1":{"name":"clearCanvas","decl":{"start":{"line":31,"column":16},"end":{"line":31,"column":27}},"loc":{"start":{"line":31,"column":52},"end":{"line":34,"column":1}},"line":31},"2":{"name":"drawRect","decl":{"start":{"line":46,"column":16},"end":{"line":46,"column":24}},"loc":{"start":{"line":46,"column":93},"end":{"line":52,"column":1}},"line":46}},"branchMap":{"0":{"loc":{"start":{"line":46,"column":40},"end":{"line":46,"column":45}},"type":"default-arg","locations":[{"start":{"line":46,"column":44},"end":{"line":46,"column":45}}],"line":46},"1":{"loc":{"start":{"line":46,"column":47},"end":{"line":46,"column":52}},"type":"default-arg","locations":[{"start":{"line":46,"column":51},"end":{"line":46,"column":52}}],"line":46},"2":{"loc":{"start":{"line":46,"column":54},"end":{"line":46,"column":63}},"type":"default-arg","locations":[{"start":{"line":46,"column":62},"end":{"line":46,"column":63}}],"line":46},"3":{"loc":{"start":{"line":46,"column":65},"end":{"line":46,"column":75}},"type":"default-arg","locations":[{"start":{"line":46,"column":74},"end":{"line":46,"column":75}}],"line":46},"4":{"loc":{"start":{"line":46,"column":77},"end":{"line":46,"column":91}},"type":"default-arg","locations":[{"start":{"line":46,"column":87},"end":{"line":46,"column":91}}],"line":46},"5":{"loc":{"start":{"line":49,"column":30},"end":{"line":49,"column":106}},"type":"cond-expr","locations":[{"start":{"line":49,"column":73},"end":{"line":49,"column":90}},{"start":{"line":49,"column":93},"end":{"line":49,"column":106}}],"line":49},"6":{"loc":{"start":{"line":49,"column":30},"end":{"line":49,"column":70}},"type":"binary-expr","locations":[{"start":{"line":49,"column":30},"end":{"line":49,"column":47}},{"start":{"line":49,"column":52},"end":{"line":49,"column":69}}],"line":49}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0},"f":{"0":0,"1":0,"2":0},"b":{"0":[0],"1":[0],"2":[0],"3":[0],"4":[0],"5":[0,0],"6":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"57f592643da229c2b3b8d5c350e587c4a886ec9d"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/constants.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/constants.js","statementMap":{"0":{"start":{"line":12,"column":29},"end":{"line":12,"column":31}},"1":{"start":{"line":13,"column":30},"end":{"line":13,"column":33}},"2":{"start":{"line":14,"column":30},"end":{"line":14,"column":31}},"3":{"start":{"line":15,"column":30},"end":{"line":15,"column":32}},"4":{"start":{"line":18,"column":31},"end":{"line":18,"column":32}},"5":{"start":{"line":21,"column":40},"end":{"line":21,"column":43}},"6":{"start":{"line":23,"column":30},"end":{"line":23,"column":31}},"7":{"start":{"line":26,"column":39},"end":{"line":26,"column":41}},"8":{"start":{"line":29,"column":32},"end":{"line":29,"column":35}},"9":{"start":{"line":32,"column":23},"end":{"line":32,"column":25}}},"fnMap":{},"branchMap":{},"s":{"0":4,"1":4,"2":4,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"692dad24957dd7b21dd34d1407bc0dc3f423d253"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/setupTests.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/setupTests.js","statementMap":{"0":{"start":{"line":6,"column":0},"end":{"line":6,"column":38}}},"fnMap":{},"branchMap":{},"s":{"0":4},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"60c459604d56f5c765e02549cecf36c964b14594"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/utils.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/utils.js","statementMap":{"0":{"start":{"line":27,"column":4},"end":{"line":27,"column":31}},"1":{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},"2":{"start":{"line":37,"column":8},"end":{"line":37,"column":21}},"3":{"start":{"line":39,"column":4},"end":{"line":39,"column":14}},"4":{"start":{"line":42,"column":26},"end":{"line":42,"column":43}},"5":{"start":{"line":43,"column":19},"end":{"line":43,"column":36}},"6":{"start":{"line":44,"column":19},"end":{"line":44,"column":38}},"7":{"start":{"line":45,"column":17},"end":{"line":45,"column":36}},"8":{"start":{"line":46,"column":16},"end":{"line":46,"column":35}},"9":{"start":{"line":47,"column":17},"end":{"line":47,"column":36}},"10":{"start":{"line":48,"column":18},"end":{"line":48,"column":34}},"11":{"start":{"line":49,"column":17},"end":{"line":49,"column":33}},"12":{"start":{"line":62,"column":4},"end":{"line":80,"column":5}},"13":{"start":{"line":63,"column":8},"end":{"line":63,"column":38}},"14":{"start":{"line":64,"column":11},"end":{"line":80,"column":5}},"15":{"start":{"line":65,"column":8},"end":{"line":65,"column":33}},"16":{"start":{"line":66,"column":11},"end":{"line":80,"column":5}},"17":{"start":{"line":67,"column":8},"end":{"line":67,"column":33}},"18":{"start":{"line":68,"column":11},"end":{"line":80,"column":5}},"19":{"start":{"line":69,"column":8},"end":{"line":69,"column":31}},"20":{"start":{"line":70,"column":11},"end":{"line":80,"column":5}},"21":{"start":{"line":71,"column":8},"end":{"line":75,"column":9}},"22":{"start":{"line":72,"column":12},"end":{"line":72,"column":34}},"23":{"start":{"line":74,"column":12},"end":{"line":74,"column":35}},"24":{"start":{"line":76,"column":11},"end":{"line":80,"column":5}},"25":{"start":{"line":77,"column":8},"end":{"line":77,"column":32}},"26":{"start":{"line":79,"column":8},"end":{"line":79,"column":31}},"27":{"start":{"line":82,"column":4},"end":{"line":82,"column":27}},"28":{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},"29":{"start":{"line":95,"column":8},"end":{"line":95,"column":21}},"30":{"start":{"line":98,"column":4},"end":{"line":105,"column":5}},"31":{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},"32":{"start":{"line":100,"column":12},"end":{"line":100,"column":25}},"33":{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},"34":{"start":{"line":103,"column":12},"end":{"line":103,"column":25}},"35":{"start":{"line":107,"column":4},"end":{"line":107,"column":16}},"36":{"start":{"line":117,"column":4},"end":{"line":117,"column":56}},"37":{"start":{"line":130,"column":4},"end":{"line":136,"column":5}},"38":{"start":{"line":131,"column":25},"end":{"line":131,"column":37}},"39":{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},"40":{"start":{"line":134,"column":12},"end":{"line":134,"column":24}},"41":{"start":{"line":138,"column":4},"end":{"line":138,"column":17}},"42":{"start":{"line":150,"column":67},"end":{"line":150,"column":72}},"43":{"start":{"line":151,"column":18},"end":{"line":151,"column":28}},"44":{"start":{"line":153,"column":28},"end":{"line":153,"column":29}},"45":{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},"46":{"start":{"line":156,"column":8},"end":{"line":156,"column":79}},"47":{"start":{"line":159,"column":28},"end":{"line":159,"column":81}},"48":{"start":{"line":161,"column":4},"end":{"line":171,"column":6}},"49":{"start":{"line":182,"column":20},"end":{"line":182,"column":22}},"50":{"start":{"line":184,"column":65},"end":{"line":184,"column":105}},"51":{"start":{"line":186,"column":4},"end":{"line":189,"column":6}},"52":{"start":{"line":191,"column":27},"end":{"line":191,"column":108}},"53":{"start":{"line":195,"column":4},"end":{"line":218,"column":5}},"54":{"start":{"line":199,"column":8},"end":{"line":199,"column":55}},"55":{"start":{"line":201,"column":20},"end":{"line":201,"column":54}},"56":{"start":{"line":203,"column":18},"end":{"line":203,"column":52}},"57":{"start":{"line":206,"column":8},"end":{"line":206,"column":17}},"58":{"start":{"line":209,"column":8},"end":{"line":217,"column":9}},"59":{"start":{"line":210,"column":12},"end":{"line":216,"column":14}},"60":{"start":{"line":220,"column":4},"end":{"line":220,"column":21}}},"fnMap":{"0":{"name":"isObject","decl":{"start":{"line":26,"column":16},"end":{"line":26,"column":24}},"loc":{"start":{"line":26,"column":30},"end":{"line":28,"column":1}},"line":26},"1":{"name":"histogramDefaultYAxisFormatter","decl":{"start":{"line":35,"column":16},"end":{"line":35,"column":46}},"loc":{"start":{"line":35,"column":54},"end":{"line":40,"column":1}},"line":35},"2":{"name":"multiDateFormat","decl":{"start":{"line":59,"column":16},"end":{"line":59,"column":31}},"loc":{"start":{"line":59,"column":38},"end":{"line":83,"column":1}},"line":59},"3":{"name":"isHistogramDataEqual","decl":{"start":{"line":93,"column":16},"end":{"line":93,"column":36}},"loc":{"start":{"line":93,"column":71},"end":{"line":108,"column":1}},"line":93},"4":{"name":"dateToTimestamp","decl":{"start":{"line":116,"column":16},"end":{"line":116,"column":31}},"loc":{"start":{"line":116,"column":38},"end":{"line":118,"column":1}},"line":116},"5":{"name":"havePropsChanged","decl":{"start":{"line":129,"column":16},"end":{"line":129,"column":32}},"loc":{"start":{"line":129,"column":62},"end":{"line":139,"column":1}},"line":129},"6":{"name":"calculateChartsPositionsAndSizing","decl":{"start":{"line":149,"column":16},"end":{"line":149,"column":49}},"loc":{"start":{"line":149,"column":57},"end":{"line":172,"column":1}},"line":149},"7":{"name":"calculateChartSizesAndDomain","decl":{"start":{"line":181,"column":16},"end":{"line":181,"column":44}},"loc":{"start":{"line":181,"column":87},"end":{"line":221,"column":1}},"line":181}},"branchMap":{"0":{"loc":{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},"type":"if","locations":[{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},{"start":{"line":36,"column":4},"end":{"line":38,"column":5}}],"line":36},"1":{"loc":{"start":{"line":36,"column":8},"end":{"line":36,"column":44}},"type":"binary-expr","locations":[{"start":{"line":36,"column":8},"end":{"line":36,"column":17}},{"start":{"line":36,"column":21},"end":{"line":36,"column":44}}],"line":36},"2":{"loc":{"start":{"line":62,"column":4},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":62,"column":4},"end":{"line":80,"column":5}},{"start":{"line":62,"column":4},"end":{"line":80,"column":5}}],"line":62},"3":{"loc":{"start":{"line":64,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":64,"column":11},"end":{"line":80,"column":5}},{"start":{"line":64,"column":11},"end":{"line":80,"column":5}}],"line":64},"4":{"loc":{"start":{"line":66,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":66,"column":11},"end":{"line":80,"column":5}},{"start":{"line":66,"column":11},"end":{"line":80,"column":5}}],"line":66},"5":{"loc":{"start":{"line":68,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":68,"column":11},"end":{"line":80,"column":5}},{"start":{"line":68,"column":11},"end":{"line":80,"column":5}}],"line":68},"6":{"loc":{"start":{"line":70,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":70,"column":11},"end":{"line":80,"column":5}},{"start":{"line":70,"column":11},"end":{"line":80,"column":5}}],"line":70},"7":{"loc":{"start":{"line":71,"column":8},"end":{"line":75,"column":9}},"type":"if","locations":[{"start":{"line":71,"column":8},"end":{"line":75,"column":9}},{"start":{"line":71,"column":8},"end":{"line":75,"column":9}}],"line":71},"8":{"loc":{"start":{"line":76,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":76,"column":11},"end":{"line":80,"column":5}},{"start":{"line":76,"column":11},"end":{"line":80,"column":5}}],"line":76},"9":{"loc":{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},"type":"if","locations":[{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},{"start":{"line":94,"column":4},"end":{"line":96,"column":5}}],"line":94},"10":{"loc":{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},"type":"if","locations":[{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},{"start":{"line":99,"column":8},"end":{"line":101,"column":9}}],"line":99},"11":{"loc":{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},{"start":{"line":102,"column":8},"end":{"line":104,"column":9}}],"line":102},"12":{"loc":{"start":{"line":117,"column":11},"end":{"line":117,"column":55}},"type":"cond-expr","locations":[{"start":{"line":117,"column":34},"end":{"line":117,"column":48}},{"start":{"line":117,"column":51},"end":{"line":117,"column":55}}],"line":117},"13":{"loc":{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},"type":"if","locations":[{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},{"start":{"line":133,"column":8},"end":{"line":135,"column":9}}],"line":133},"14":{"loc":{"start":{"line":133,"column":12},"end":{"line":133,"column":89}},"type":"binary-expr","locations":[{"start":{"line":133,"column":12},"end":{"line":133,"column":46}},{"start":{"line":133,"column":50},"end":{"line":133,"column":89}}],"line":133},"15":{"loc":{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},"type":"if","locations":[{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},{"start":{"line":155,"column":4},"end":{"line":157,"column":5}}],"line":155},"16":{"loc":{"start":{"line":156,"column":28},"end":{"line":156,"column":78}},"type":"cond-expr","locations":[{"start":{"line":156,"column":60},"end":{"line":156,"column":74}},{"start":{"line":156,"column":77},"end":{"line":156,"column":78}}],"line":156},"17":{"loc":{"start":{"line":195,"column":4},"end":{"line":218,"column":5}},"type":"if","locations":[{"start":{"line":195,"column":4},"end":{"line":218,"column":5}},{"start":{"line":195,"column":4},"end":{"line":218,"column":5}}],"line":195},"18":{"loc":{"start":{"line":209,"column":8},"end":{"line":217,"column":9}},"type":"if","locations":[{"start":{"line":209,"column":8},"end":{"line":217,"column":9}},{"start":{"line":209,"column":8},"end":{"line":217,"column":9}}],"line":209},"19":{"loc":{"start":{"line":209,"column":12},"end":{"line":209,"column":74}},"type":"binary-expr","locations":[{"start":{"line":209,"column":12},"end":{"line":209,"column":41}},{"start":{"line":209,"column":45},"end":{"line":209,"column":74}}],"line":209}},"s":{"0":7,"1":5,"2":1,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4,"10":4,"11":4,"12":1,"13":0,"14":1,"15":0,"16":1,"17":0,"18":1,"19":0,"20":1,"21":0,"22":0,"23":0,"24":1,"25":0,"26":1,"27":1,"28":22,"29":5,"30":17,"31":145,"32":1,"33":144,"34":1,"35":15,"36":72,"37":5,"38":6,"39":6,"40":2,"41":3,"42":16,"43":16,"44":16,"45":16,"46":12,"47":16,"48":16,"49":14,"50":14,"51":14,"52":14,"53":14,"54":5,"55":5,"56":5,"57":5,"58":5,"59":4,"60":14},"f":{"0":7,"1":5,"2":1,"3":22,"4":72,"5":5,"6":16,"7":14},"b":{"0":[1,4],"1":[5,2],"2":[0,1],"3":[0,1],"4":[0,1],"5":[0,1],"6":[0,1],"7":[0,0],"8":[0,1],"9":[5,17],"10":[1,144],"11":[1,143],"12":[38,34],"13":[2,4],"14":[6,4],"15":[12,4],"16":[12,0],"17":[5,9],"18":[4,1],"19":[5,2]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"184e0ff74e76d1d86aabbaa6d8fcec5433969b40"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/DensityChart.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/DensityChart.js","statementMap":{"0":{"start":{"line":50,"column":8},"end":{"line":50,"column":21}},"1":{"start":{"line":52,"column":8},"end":{"line":52,"column":49}},"2":{"start":{"line":53,"column":8},"end":{"line":53,"column":49}},"3":{"start":{"line":57,"column":8},"end":{"line":57,"column":88}},"4":{"start":{"line":59,"column":54},"end":{"line":59,"column":64}},"5":{"start":{"line":61,"column":8},"end":{"line":66,"column":50}},"6":{"start":{"line":68,"column":8},"end":{"line":68,"column":28}},"7":{"start":{"line":70,"column":8},"end":{"line":70,"column":52}},"8":{"start":{"line":72,"column":8},"end":{"line":72,"column":33}},"9":{"start":{"line":76,"column":71},"end":{"line":76,"column":81}},"10":{"start":{"line":78,"column":8},"end":{"line":78,"column":28}},"11":{"start":{"line":80,"column":8},"end":{"line":80,"column":98}},"12":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"13":{"start":{"line":85,"column":12},"end":{"line":85,"column":37}},"14":{"start":{"line":90,"column":8},"end":{"line":90,"column":41}},"15":{"start":{"line":91,"column":8},"end":{"line":91,"column":41}},"16":{"start":{"line":103,"column":22},"end":{"line":103,"column":40}},"17":{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},"18":{"start":{"line":106,"column":12},"end":{"line":106,"column":19}},"19":{"start":{"line":111,"column":8},"end":{"line":116,"column":9}},"20":{"start":{"line":112,"column":12},"end":{"line":112,"column":45}},"21":{"start":{"line":115,"column":12},"end":{"line":115,"column":67}},"22":{"start":{"line":118,"column":8},"end":{"line":118,"column":51}},"23":{"start":{"line":129,"column":8},"end":{"line":129,"column":23}},"24":{"start":{"line":137,"column":8},"end":{"line":138,"column":30}},"25":{"start":{"line":147,"column":8},"end":{"line":148,"column":43}},"26":{"start":{"line":158,"column":8},"end":{"line":165,"column":11}},"27":{"start":{"line":186,"column":12},"end":{"line":186,"column":22}},"28":{"start":{"line":188,"column":8},"end":{"line":188,"column":67}},"29":{"start":{"line":190,"column":8},"end":{"line":204,"column":9}},"30":{"start":{"line":191,"column":22},"end":{"line":191,"column":40}},"31":{"start":{"line":192,"column":42},"end":{"line":192,"column":83}},"32":{"start":{"line":194,"column":12},"end":{"line":203,"column":14}},"33":{"start":{"line":213,"column":56},"end":{"line":213,"column":66}},"34":{"start":{"line":215,"column":8},"end":{"line":217,"column":9}},"35":{"start":{"line":216,"column":12},"end":{"line":216,"column":24}},"36":{"start":{"line":219,"column":8},"end":{"line":229,"column":10}},"37":{"start":{"line":233,"column":26},"end":{"line":233,"column":27}},"38":{"start":{"line":235,"column":43},"end":{"line":235,"column":53}},"39":{"start":{"line":237,"column":8},"end":{"line":239,"column":9}},"40":{"start":{"line":238,"column":12},"end":{"line":238,"column":38}},"41":{"start":{"line":241,"column":40},"end":{"line":241,"column":61}},"42":{"start":{"line":243,"column":8},"end":{"line":265,"column":10}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":49,"column":4},"end":{"line":49,"column":5}},"loc":{"start":{"line":49,"column":23},"end":{"line":54,"column":5}},"line":49},"1":{"name":"(anonymous_1)","decl":{"start":{"line":56,"column":4},"end":{"line":56,"column":5}},"loc":{"start":{"line":56,"column":24},"end":{"line":73,"column":5}},"line":56},"2":{"name":"(anonymous_2)","decl":{"start":{"line":75,"column":4},"end":{"line":75,"column":5}},"loc":{"start":{"line":75,"column":34},"end":{"line":87,"column":5}},"line":75},"3":{"name":"(anonymous_3)","decl":{"start":{"line":89,"column":4},"end":{"line":89,"column":5}},"loc":{"start":{"line":89,"column":27},"end":{"line":92,"column":5}},"line":89},"4":{"name":"(anonymous_4)","decl":{"start":{"line":100,"column":21},"end":{"line":100,"column":22}},"loc":{"start":{"line":100,"column":27},"end":{"line":119,"column":5}},"line":100},"5":{"name":"(anonymous_5)","decl":{"start":{"line":128,"column":4},"end":{"line":128,"column":5}},"loc":{"start":{"line":128,"column":18},"end":{"line":130,"column":5}},"line":128},"6":{"name":"(anonymous_6)","decl":{"start":{"line":136,"column":4},"end":{"line":136,"column":5}},"loc":{"start":{"line":136,"column":19},"end":{"line":139,"column":5}},"line":136},"7":{"name":"(anonymous_7)","decl":{"start":{"line":146,"column":17},"end":{"line":146,"column":18}},"loc":{"start":{"line":146,"column":29},"end":{"line":149,"column":5}},"line":146},"8":{"name":"(anonymous_8)","decl":{"start":{"line":157,"column":4},"end":{"line":157,"column":5}},"loc":{"start":{"line":157,"column":41},"end":{"line":166,"column":5}},"line":157},"9":{"name":"(anonymous_9)","decl":{"start":{"line":175,"column":4},"end":{"line":175,"column":5}},"loc":{"start":{"line":175,"column":24},"end":{"line":205,"column":5}},"line":175},"10":{"name":"(anonymous_10)","decl":{"start":{"line":211,"column":4},"end":{"line":211,"column":5}},"loc":{"start":{"line":211,"column":24},"end":{"line":230,"column":5}},"line":211},"11":{"name":"(anonymous_11)","decl":{"start":{"line":232,"column":4},"end":{"line":232,"column":5}},"loc":{"start":{"line":232,"column":13},"end":{"line":266,"column":5}},"line":232}},"branchMap":{"0":{"loc":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"type":"if","locations":[{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},{"start":{"line":84,"column":8},"end":{"line":86,"column":9}}],"line":84},"1":{"loc":{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},"type":"if","locations":[{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},{"start":{"line":105,"column":8},"end":{"line":107,"column":9}}],"line":105},"2":{"loc":{"start":{"line":105,"column":12},"end":{"line":105,"column":66}},"type":"binary-expr","locations":[{"start":{"line":105,"column":12},"end":{"line":105,"column":29}},{"start":{"line":105,"column":33},"end":{"line":105,"column":66}}],"line":105},"3":{"loc":{"start":{"line":111,"column":8},"end":{"line":116,"column":9}},"type":"if","locations":[{"start":{"line":111,"column":8},"end":{"line":116,"column":9}},{"start":{"line":111,"column":8},"end":{"line":116,"column":9}}],"line":111},"4":{"loc":{"start":{"line":192,"column":42},"end":{"line":192,"column":83}},"type":"binary-expr","locations":[{"start":{"line":192,"column":42},"end":{"line":192,"column":61}},{"start":{"line":192,"column":65},"end":{"line":192,"column":83}}],"line":192},"5":{"loc":{"start":{"line":201,"column":31},"end":{"line":201,"column":107}},"type":"cond-expr","locations":[{"start":{"line":201,"column":55},"end":{"line":201,"column":77}},{"start":{"line":201,"column":80},"end":{"line":201,"column":107}}],"line":201},"6":{"loc":{"start":{"line":215,"column":8},"end":{"line":217,"column":9}},"type":"if","locations":[{"start":{"line":215,"column":8},"end":{"line":217,"column":9}},{"start":{"line":215,"column":8},"end":{"line":217,"column":9}}],"line":215},"7":{"loc":{"start":{"line":237,"column":8},"end":{"line":239,"column":9}},"type":"if","locations":[{"start":{"line":237,"column":8},"end":{"line":239,"column":9}},{"start":{"line":237,"column":8},"end":{"line":239,"column":9}}],"line":237}},"s":{"0":8,"1":8,"2":8,"3":8,"4":8,"5":8,"6":8,"7":8,"8":8,"9":1,"10":1,"11":1,"12":1,"13":1,"14":0,"15":0,"16":21,"17":21,"18":1,"19":20,"20":19,"21":1,"22":20,"23":18,"24":9,"25":9,"26":1,"27":9,"28":9,"29":9,"30":90,"31":90,"32":90,"33":9,"34":9,"35":1,"36":8,"37":9,"38":9,"39":9,"40":1,"41":9,"42":9},"f":{"0":8,"1":8,"2":1,"3":0,"4":21,"5":18,"6":9,"7":9,"8":1,"9":9,"10":9,"11":9},"b":{"0":[1,0],"1":[1,20],"2":[21,3],"3":[19,1],"4":[90,89],"5":[84,6],"6":[1,8],"7":[1,8]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ca6f868366de48dba9200b4a1723d41d4b7c4f23"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/PlayButton.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/PlayButton.js","statementMap":{"0":{"start":{"line":5,"column":24},"end":{"line":8,"column":83}},"1":{"start":{"line":10,"column":24},"end":{"line":15,"column":1}},"2":{"start":{"line":57,"column":89},"end":{"line":57,"column":99}},"3":{"start":{"line":58,"column":32},"end":{"line":58,"column":66}},"4":{"start":{"line":59,"column":32},"end":{"line":59,"column":66}},"5":{"start":{"line":60,"column":27},"end":{"line":60,"column":42}},"6":{"start":{"line":62,"column":24},"end":{"line":62,"column":29}},"7":{"start":{"line":63,"column":25},"end":{"line":63,"column":42}},"8":{"start":{"line":65,"column":8},"end":{"line":65,"column":35}},"9":{"start":{"line":67,"column":8},"end":{"line":71,"column":9}},"10":{"start":{"line":68,"column":12},"end":{"line":68,"column":39}},"11":{"start":{"line":70,"column":12},"end":{"line":70,"column":44}},"12":{"start":{"line":73,"column":8},"end":{"line":75,"column":75}},"13":{"start":{"line":75,"column":17},"end":{"line":75,"column":73}},"14":{"start":{"line":85,"column":8},"end":{"line":85,"column":26}},"15":{"start":{"line":100,"column":8},"end":{"line":103,"column":9}},"16":{"start":{"line":101,"column":12},"end":{"line":101,"column":30}},"17":{"start":{"line":102,"column":12},"end":{"line":102,"column":19}},"18":{"start":{"line":106,"column":8},"end":{"line":112,"column":9}},"19":{"start":{"line":108,"column":12},"end":{"line":108,"column":32}},"20":{"start":{"line":111,"column":12},"end":{"line":111,"column":34}},"21":{"start":{"line":113,"column":23},"end":{"line":113,"column":45}},"22":{"start":{"line":116,"column":8},"end":{"line":116,"column":37}},"23":{"start":{"line":129,"column":8},"end":{"line":131,"column":34}},"24":{"start":{"line":130,"column":12},"end":{"line":130,"column":46}},"25":{"start":{"line":141,"column":8},"end":{"line":143,"column":51}},"26":{"start":{"line":143,"column":17},"end":{"line":143,"column":49}},"27":{"start":{"line":147,"column":24},"end":{"line":147,"column":79}},"28":{"start":{"line":151,"column":8},"end":{"line":164,"column":9}},"29":{"start":{"line":152,"column":12},"end":{"line":156,"column":14}},"30":{"start":{"line":158,"column":12},"end":{"line":163,"column":14}},"31":{"start":{"line":166,"column":8},"end":{"line":172,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":56,"column":19},"end":{"line":56,"column":20}},"loc":{"start":{"line":56,"column":25},"end":{"line":76,"column":5}},"line":56},"1":{"name":"(anonymous_1)","decl":{"start":{"line":75,"column":11},"end":{"line":75,"column":12}},"loc":{"start":{"line":75,"column":17},"end":{"line":75,"column":73}},"line":75},"2":{"name":"(anonymous_2)","decl":{"start":{"line":84,"column":19},"end":{"line":84,"column":20}},"loc":{"start":{"line":84,"column":25},"end":{"line":86,"column":5}},"line":84},"3":{"name":"(anonymous_3)","decl":{"start":{"line":97,"column":4},"end":{"line":97,"column":5}},"loc":{"start":{"line":97,"column":33},"end":{"line":117,"column":5}},"line":97},"4":{"name":"(anonymous_4)","decl":{"start":{"line":128,"column":4},"end":{"line":128,"column":5}},"loc":{"start":{"line":128,"column":43},"end":{"line":132,"column":5}},"line":128},"5":{"name":"(anonymous_5)","decl":{"start":{"line":129,"column":40},"end":{"line":129,"column":41}},"loc":{"start":{"line":129,"column":46},"end":{"line":131,"column":9}},"line":129},"6":{"name":"(anonymous_6)","decl":{"start":{"line":140,"column":4},"end":{"line":140,"column":5}},"loc":{"start":{"line":140,"column":17},"end":{"line":144,"column":5}},"line":140},"7":{"name":"(anonymous_7)","decl":{"start":{"line":143,"column":11},"end":{"line":143,"column":12}},"loc":{"start":{"line":143,"column":17},"end":{"line":143,"column":49}},"line":143},"8":{"name":"(anonymous_8)","decl":{"start":{"line":146,"column":4},"end":{"line":146,"column":5}},"loc":{"start":{"line":146,"column":13},"end":{"line":173,"column":5}},"line":146}},"branchMap":{"0":{"loc":{"start":{"line":67,"column":8},"end":{"line":71,"column":9}},"type":"if","locations":[{"start":{"line":67,"column":8},"end":{"line":71,"column":9}},{"start":{"line":67,"column":8},"end":{"line":71,"column":9}}],"line":67},"1":{"loc":{"start":{"line":100,"column":8},"end":{"line":103,"column":9}},"type":"if","locations":[{"start":{"line":100,"column":8},"end":{"line":103,"column":9}},{"start":{"line":100,"column":8},"end":{"line":103,"column":9}}],"line":100},"2":{"loc":{"start":{"line":106,"column":8},"end":{"line":112,"column":9}},"type":"if","locations":[{"start":{"line":106,"column":8},"end":{"line":112,"column":9}},{"start":{"line":106,"column":8},"end":{"line":112,"column":9}}],"line":106},"3":{"loc":{"start":{"line":147,"column":24},"end":{"line":147,"column":79}},"type":"cond-expr","locations":[{"start":{"line":147,"column":42},"end":{"line":147,"column":59}},{"start":{"line":147,"column":62},"end":{"line":147,"column":79}}],"line":147},"4":{"loc":{"start":{"line":151,"column":8},"end":{"line":164,"column":9}},"type":"if","locations":[{"start":{"line":151,"column":8},"end":{"line":164,"column":9}},{"start":{"line":151,"column":8},"end":{"line":164,"column":9}}],"line":151}},"s":{"0":3,"1":3,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2,"10":1,"11":1,"12":2,"13":2,"14":0,"15":3,"16":1,"17":1,"18":2,"19":1,"20":1,"21":2,"22":2,"23":2,"24":0,"25":0,"26":0,"27":17,"28":17,"29":2,"30":15,"31":17},"f":{"0":2,"1":2,"2":0,"3":3,"4":2,"5":0,"6":0,"7":0,"8":17},"b":{"0":[1,1],"1":[1,2],"2":[1,1],"3":[2,15],"4":[2,15]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ed70ac8e33a9da9f8ed1c270e2c8e0f12b081800"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/Histogram/Histogram.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/Histogram/Histogram.js","statementMap":{"0":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"1":{"start":{"line":85,"column":12},"end":{"line":85,"column":76}},"2":{"start":{"line":88,"column":26},"end":{"line":88,"column":92}},"3":{"start":{"line":90,"column":8},"end":{"line":90,"column":68}},"4":{"start":{"line":94,"column":8},"end":{"line":94,"column":21}},"5":{"start":{"line":96,"column":8},"end":{"line":96,"column":51}},"6":{"start":{"line":97,"column":8},"end":{"line":97,"column":51}},"7":{"start":{"line":98,"column":8},"end":{"line":98,"column":51}},"8":{"start":{"line":102,"column":8},"end":{"line":109,"column":12}},"9":{"start":{"line":111,"column":8},"end":{"line":111,"column":35}},"10":{"start":{"line":115,"column":8},"end":{"line":115,"column":40}},"11":{"start":{"line":119,"column":32},"end":{"line":119,"column":78}},"12":{"start":{"line":120,"column":31},"end":{"line":121,"column":113}},"13":{"start":{"line":123,"column":8},"end":{"line":126,"column":9}},"14":{"start":{"line":124,"column":12},"end":{"line":124,"column":39}},"15":{"start":{"line":125,"column":12},"end":{"line":125,"column":44}},"16":{"start":{"line":130,"column":8},"end":{"line":130,"column":35}},"17":{"start":{"line":140,"column":34},"end":{"line":140,"column":51}},"18":{"start":{"line":141,"column":34},"end":{"line":141,"column":51}},"19":{"start":{"line":144,"column":30},"end":{"line":144,"column":80}},"20":{"start":{"line":146,"column":8},"end":{"line":148,"column":47}},"21":{"start":{"line":150,"column":8},"end":{"line":150,"column":76}},"22":{"start":{"line":162,"column":8},"end":{"line":164,"column":9}},"23":{"start":{"line":163,"column":12},"end":{"line":163,"column":19}},"24":{"start":{"line":166,"column":30},"end":{"line":166,"column":37}},"25":{"start":{"line":170,"column":30},"end":{"line":170,"column":82}},"26":{"start":{"line":172,"column":8},"end":{"line":172,"column":76}},"27":{"start":{"line":182,"column":22},"end":{"line":182,"column":66}},"28":{"start":{"line":186,"column":30},"end":{"line":186,"column":47}},"29":{"start":{"line":188,"column":8},"end":{"line":196,"column":11}},"30":{"start":{"line":189,"column":24},"end":{"line":189,"column":54}},"31":{"start":{"line":191,"column":12},"end":{"line":195,"column":14}},"32":{"start":{"line":204,"column":8},"end":{"line":206,"column":11}},"33":{"start":{"line":214,"column":29},"end":{"line":214,"column":51}},"34":{"start":{"line":215,"column":34},"end":{"line":215,"column":69}},"35":{"start":{"line":217,"column":8},"end":{"line":219,"column":67}},"36":{"start":{"line":222,"column":31},"end":{"line":222,"column":67}},"37":{"start":{"line":224,"column":8},"end":{"line":234,"column":44}},"38":{"start":{"line":242,"column":8},"end":{"line":242,"column":65}},"39":{"start":{"line":244,"column":8},"end":{"line":244,"column":43}},"40":{"start":{"line":255,"column":8},"end":{"line":273,"column":9}},"41":{"start":{"line":257,"column":12},"end":{"line":263,"column":49}},"42":{"start":{"line":265,"column":31},"end":{"line":265,"column":63}},"43":{"start":{"line":266,"column":33},"end":{"line":267,"column":73}},"44":{"start":{"line":269,"column":12},"end":{"line":272,"column":29}},"45":{"start":{"line":283,"column":8},"end":{"line":283,"column":48}},"46":{"start":{"line":285,"column":8},"end":{"line":291,"column":46}},"47":{"start":{"line":294,"column":34},"end":{"line":300,"column":10}},"48":{"start":{"line":303,"column":8},"end":{"line":305,"column":75}},"49":{"start":{"line":304,"column":58},"end":{"line":304,"column":68}},"50":{"start":{"line":307,"column":8},"end":{"line":311,"column":11}},"51":{"start":{"line":310,"column":12},"end":{"line":310,"column":40}},"52":{"start":{"line":322,"column":8},"end":{"line":356,"column":11}},"53":{"start":{"line":323,"column":44},"end":{"line":329,"column":14}},"54":{"start":{"line":331,"column":12},"end":{"line":333,"column":13}},"55":{"start":{"line":332,"column":16},"end":{"line":332,"column":28}},"56":{"start":{"line":335,"column":31},"end":{"line":335,"column":61}},"57":{"start":{"line":336,"column":31},"end":{"line":336,"column":61}},"58":{"start":{"line":339,"column":12},"end":{"line":342,"column":13}},"59":{"start":{"line":340,"column":16},"end":{"line":340,"column":36}},"60":{"start":{"line":341,"column":16},"end":{"line":341,"column":36}},"61":{"start":{"line":344,"column":12},"end":{"line":355,"column":14}},"62":{"start":{"line":367,"column":36},"end":{"line":372,"column":66}},"63":{"start":{"line":375,"column":31},"end":{"line":377,"column":50}},"64":{"start":{"line":379,"column":8},"end":{"line":380,"column":34}},"65":{"start":{"line":382,"column":31},"end":{"line":385,"column":50}},"66":{"start":{"line":387,"column":8},"end":{"line":388,"column":34}},"67":{"start":{"line":403,"column":29},"end":{"line":407,"column":9}},"68":{"start":{"line":409,"column":8},"end":{"line":411,"column":9}},"69":{"start":{"line":410,"column":12},"end":{"line":410,"column":24}},"70":{"start":{"line":413,"column":31},"end":{"line":413,"column":77}},"71":{"start":{"line":415,"column":8},"end":{"line":422,"column":10}},"72":{"start":{"line":431,"column":40},"end":{"line":431,"column":102}},"73":{"start":{"line":432,"column":40},"end":{"line":432,"column":102}},"74":{"start":{"line":434,"column":64},"end":{"line":434,"column":74}},"75":{"start":{"line":435,"column":45},"end":{"line":435,"column":55}},"76":{"start":{"line":437,"column":8},"end":{"line":464,"column":10}},"77":{"start":{"line":472,"column":56},"end":{"line":472,"column":66}},"78":{"start":{"line":474,"column":68},"end":{"line":474,"column":78}},"79":{"start":{"line":476,"column":8},"end":{"line":494,"column":10}},"80":{"start":{"line":498,"column":8},"end":{"line":504,"column":10}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":78,"column":26},"end":{"line":78,"column":27}},"loc":{"start":{"line":78,"column":32},"end":{"line":78,"column":34}},"line":78},"1":{"name":"(anonymous_1)","decl":{"start":{"line":83,"column":4},"end":{"line":83,"column":5}},"loc":{"start":{"line":83,"column":50},"end":{"line":91,"column":5}},"line":83},"2":{"name":"(anonymous_2)","decl":{"start":{"line":93,"column":4},"end":{"line":93,"column":5}},"loc":{"start":{"line":93,"column":23},"end":{"line":112,"column":5}},"line":93},"3":{"name":"(anonymous_3)","decl":{"start":{"line":114,"column":4},"end":{"line":114,"column":5}},"loc":{"start":{"line":114,"column":24},"end":{"line":116,"column":5}},"line":114},"4":{"name":"(anonymous_4)","decl":{"start":{"line":118,"column":4},"end":{"line":118,"column":5}},"loc":{"start":{"line":118,"column":34},"end":{"line":127,"column":5}},"line":118},"5":{"name":"(anonymous_5)","decl":{"start":{"line":129,"column":4},"end":{"line":129,"column":5}},"loc":{"start":{"line":129,"column":27},"end":{"line":131,"column":5}},"line":129},"6":{"name":"(anonymous_6)","decl":{"start":{"line":139,"column":35},"end":{"line":139,"column":36}},"loc":{"start":{"line":139,"column":55},"end":{"line":151,"column":5}},"line":139},"7":{"name":"(anonymous_7)","decl":{"start":{"line":161,"column":20},"end":{"line":161,"column":21}},"loc":{"start":{"line":161,"column":26},"end":{"line":173,"column":5}},"line":161},"8":{"name":"(anonymous_8)","decl":{"start":{"line":181,"column":32},"end":{"line":181,"column":33}},"loc":{"start":{"line":181,"column":41},"end":{"line":197,"column":5}},"line":181},"9":{"name":"(anonymous_9)","decl":{"start":{"line":188,"column":22},"end":{"line":188,"column":23}},"loc":{"start":{"line":188,"column":33},"end":{"line":196,"column":9}},"line":188},"10":{"name":"(anonymous_10)","decl":{"start":{"line":203,"column":32},"end":{"line":203,"column":33}},"loc":{"start":{"line":203,"column":38},"end":{"line":207,"column":5}},"line":203},"11":{"name":"(anonymous_11)","decl":{"start":{"line":213,"column":4},"end":{"line":213,"column":5}},"loc":{"start":{"line":213,"column":26},"end":{"line":235,"column":5}},"line":213},"12":{"name":"(anonymous_12)","decl":{"start":{"line":241,"column":4},"end":{"line":241,"column":5}},"loc":{"start":{"line":241,"column":31},"end":{"line":245,"column":5}},"line":241},"13":{"name":"(anonymous_13)","decl":{"start":{"line":254,"column":4},"end":{"line":254,"column":5}},"loc":{"start":{"line":254,"column":67},"end":{"line":274,"column":5}},"line":254},"14":{"name":"(anonymous_14)","decl":{"start":{"line":282,"column":4},"end":{"line":282,"column":5}},"loc":{"start":{"line":282,"column":34},"end":{"line":312,"column":5}},"line":282},"15":{"name":"(anonymous_15)","decl":{"start":{"line":304,"column":49},"end":{"line":304,"column":50}},"loc":{"start":{"line":304,"column":58},"end":{"line":304,"column":68}},"line":304},"16":{"name":"(anonymous_16)","decl":{"start":{"line":309,"column":11},"end":{"line":309,"column":12}},"loc":{"start":{"line":309,"column":17},"end":{"line":311,"column":9}},"line":309},"17":{"name":"(anonymous_17)","decl":{"start":{"line":321,"column":4},"end":{"line":321,"column":5}},"loc":{"start":{"line":321,"column":44},"end":{"line":357,"column":5}},"line":321},"18":{"name":"(anonymous_18)","decl":{"start":{"line":322,"column":37},"end":{"line":322,"column":38}},"loc":{"start":{"line":322,"column":53},"end":{"line":356,"column":9}},"line":322},"19":{"name":"(anonymous_19)","decl":{"start":{"line":366,"column":4},"end":{"line":366,"column":5}},"loc":{"start":{"line":366,"column":27},"end":{"line":389,"column":5}},"line":366},"20":{"name":"(anonymous_20)","decl":{"start":{"line":402,"column":4},"end":{"line":402,"column":5}},"loc":{"start":{"line":402,"column":34},"end":{"line":423,"column":5}},"line":402},"21":{"name":"(anonymous_21)","decl":{"start":{"line":429,"column":4},"end":{"line":429,"column":5}},"loc":{"start":{"line":429,"column":28},"end":{"line":465,"column":5}},"line":429},"22":{"name":"(anonymous_22)","decl":{"start":{"line":471,"column":4},"end":{"line":471,"column":5}},"loc":{"start":{"line":471,"column":26},"end":{"line":495,"column":5}},"line":471},"23":{"name":"(anonymous_23)","decl":{"start":{"line":497,"column":4},"end":{"line":497,"column":5}},"loc":{"start":{"line":497,"column":13},"end":{"line":505,"column":5}},"line":497}},"branchMap":{"0":{"loc":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"type":"if","locations":[{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},{"start":{"line":84,"column":8},"end":{"line":86,"column":9}}],"line":84},"1":{"loc":{"start":{"line":90,"column":15},"end":{"line":90,"column":67}},"type":"cond-expr","locations":[{"start":{"line":90,"column":51},"end":{"line":90,"column":60}},{"start":{"line":90,"column":63},"end":{"line":90,"column":67}}],"line":90},"2":{"loc":{"start":{"line":120,"column":31},"end":{"line":121,"column":113}},"type":"binary-expr","locations":[{"start":{"line":120,"column":31},"end":{"line":120,"column":79}},{"start":{"line":121,"column":15},"end":{"line":121,"column":113}}],"line":120},"3":{"loc":{"start":{"line":123,"column":8},"end":{"line":126,"column":9}},"type":"if","locations":[{"start":{"line":123,"column":8},"end":{"line":126,"column":9}},{"start":{"line":123,"column":8},"end":{"line":126,"column":9}}],"line":123},"4":{"loc":{"start":{"line":123,"column":13},"end":{"line":123,"column":46}},"type":"binary-expr","locations":[{"start":{"line":123,"column":13},"end":{"line":123,"column":28}},{"start":{"line":123,"column":32},"end":{"line":123,"column":46}}],"line":123},"5":{"loc":{"start":{"line":162,"column":8},"end":{"line":164,"column":9}},"type":"if","locations":[{"start":{"line":162,"column":8},"end":{"line":164,"column":9}},{"start":{"line":162,"column":8},"end":{"line":164,"column":9}}],"line":162},"6":{"loc":{"start":{"line":162,"column":12},"end":{"line":162,"column":71}},"type":"binary-expr","locations":[{"start":{"line":162,"column":12},"end":{"line":162,"column":31}},{"start":{"line":162,"column":35},"end":{"line":162,"column":71}}],"line":162},"7":{"loc":{"start":{"line":255,"column":8},"end":{"line":273,"column":9}},"type":"if","locations":[{"start":{"line":255,"column":8},"end":{"line":273,"column":9}},{"start":{"line":255,"column":8},"end":{"line":273,"column":9}}],"line":255},"8":{"loc":{"start":{"line":255,"column":12},"end":{"line":256,"column":96}},"type":"binary-expr","locations":[{"start":{"line":255,"column":12},"end":{"line":255,"column":93}},{"start":{"line":256,"column":15},"end":{"line":256,"column":96}}],"line":255},"9":{"loc":{"start":{"line":266,"column":33},"end":{"line":267,"column":73}},"type":"binary-expr","locations":[{"start":{"line":266,"column":33},"end":{"line":266,"column":87}},{"start":{"line":267,"column":19},"end":{"line":267,"column":73}}],"line":266},"10":{"loc":{"start":{"line":331,"column":12},"end":{"line":333,"column":13}},"type":"if","locations":[{"start":{"line":331,"column":12},"end":{"line":333,"column":13}},{"start":{"line":331,"column":12},"end":{"line":333,"column":13}}],"line":331},"11":{"loc":{"start":{"line":339,"column":12},"end":{"line":342,"column":13}},"type":"if","locations":[{"start":{"line":339,"column":12},"end":{"line":342,"column":13}},{"start":{"line":339,"column":12},"end":{"line":342,"column":13}}],"line":339},"12":{"loc":{"start":{"line":409,"column":8},"end":{"line":411,"column":9}},"type":"if","locations":[{"start":{"line":409,"column":8},"end":{"line":411,"column":9}},{"start":{"line":409,"column":8},"end":{"line":411,"column":9}}],"line":409},"13":{"loc":{"start":{"line":490,"column":34},"end":{"line":490,"column":69}},"type":"binary-expr","locations":[{"start":{"line":490,"column":34},"end":{"line":490,"column":50}},{"start":{"line":490,"column":54},"end":{"line":490,"column":69}}],"line":490},"14":{"loc":{"start":{"line":500,"column":17},"end":{"line":500,"column":106}},"type":"cond-expr","locations":[{"start":{"line":500,"column":54},"end":{"line":500,"column":99}},{"start":{"line":500,"column":102},"end":{"line":500,"column":106}}],"line":500}},"s":{"0":8,"1":0,"2":8,"3":8,"4":3,"5":3,"6":3,"7":3,"8":3,"9":3,"10":3,"11":5,"12":5,"13":5,"14":0,"15":0,"16":0,"17":8,"18":8,"19":8,"20":8,"21":8,"22":8,"23":4,"24":4,"25":4,"26":4,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":3,"34":3,"35":3,"36":3,"37":3,"38":3,"39":3,"40":14,"41":1,"42":1,"43":1,"44":1,"45":4,"46":4,"47":4,"48":4,"49":88,"50":4,"51":4,"52":8,"53":110,"54":110,"55":0,"56":110,"57":110,"58":110,"59":0,"60":0,"61":110,"62":4,"63":4,"64":4,"65":4,"66":4,"67":0,"68":0,"69":0,"70":0,"71":0,"72":8,"73":8,"74":8,"75":8,"76":8,"77":8,"78":8,"79":8,"80":8},"f":{"0":0,"1":8,"2":3,"3":3,"4":5,"5":0,"6":8,"7":8,"8":0,"9":0,"10":0,"11":3,"12":3,"13":14,"14":4,"15":88,"16":4,"17":8,"18":110,"19":4,"20":0,"21":8,"22":8,"23":8},"b":{"0":[0,8],"1":[8,0],"2":[5,5],"3":[0,5],"4":[5,5],"5":[4,4],"6":[8,8],"7":[1,13],"8":[14,13],"9":[1,0],"10":[0,110],"11":[0,110],"12":[0,0],"13":[8,8],"14":[0,8]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"02b276d37146aeaa1e43be0afda80431d58eee50"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/utils.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/utils.js","statementMap":{"0":{"start":{"line":27,"column":4},"end":{"line":27,"column":31}},"1":{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},"2":{"start":{"line":37,"column":8},"end":{"line":37,"column":21}},"3":{"start":{"line":39,"column":4},"end":{"line":39,"column":14}},"4":{"start":{"line":42,"column":26},"end":{"line":42,"column":43}},"5":{"start":{"line":43,"column":19},"end":{"line":43,"column":36}},"6":{"start":{"line":44,"column":19},"end":{"line":44,"column":38}},"7":{"start":{"line":45,"column":17},"end":{"line":45,"column":36}},"8":{"start":{"line":46,"column":16},"end":{"line":46,"column":35}},"9":{"start":{"line":47,"column":17},"end":{"line":47,"column":36}},"10":{"start":{"line":48,"column":18},"end":{"line":48,"column":34}},"11":{"start":{"line":49,"column":17},"end":{"line":49,"column":33}},"12":{"start":{"line":62,"column":4},"end":{"line":80,"column":5}},"13":{"start":{"line":63,"column":8},"end":{"line":63,"column":38}},"14":{"start":{"line":64,"column":11},"end":{"line":80,"column":5}},"15":{"start":{"line":65,"column":8},"end":{"line":65,"column":33}},"16":{"start":{"line":66,"column":11},"end":{"line":80,"column":5}},"17":{"start":{"line":67,"column":8},"end":{"line":67,"column":33}},"18":{"start":{"line":68,"column":11},"end":{"line":80,"column":5}},"19":{"start":{"line":69,"column":8},"end":{"line":69,"column":31}},"20":{"start":{"line":70,"column":11},"end":{"line":80,"column":5}},"21":{"start":{"line":71,"column":8},"end":{"line":75,"column":9}},"22":{"start":{"line":72,"column":12},"end":{"line":72,"column":34}},"23":{"start":{"line":74,"column":12},"end":{"line":74,"column":35}},"24":{"start":{"line":76,"column":11},"end":{"line":80,"column":5}},"25":{"start":{"line":77,"column":8},"end":{"line":77,"column":32}},"26":{"start":{"line":79,"column":8},"end":{"line":79,"column":31}},"27":{"start":{"line":82,"column":4},"end":{"line":82,"column":27}},"28":{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},"29":{"start":{"line":95,"column":8},"end":{"line":95,"column":21}},"30":{"start":{"line":98,"column":4},"end":{"line":105,"column":5}},"31":{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},"32":{"start":{"line":100,"column":12},"end":{"line":100,"column":25}},"33":{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},"34":{"start":{"line":103,"column":12},"end":{"line":103,"column":25}},"35":{"start":{"line":107,"column":4},"end":{"line":107,"column":16}},"36":{"start":{"line":117,"column":4},"end":{"line":117,"column":56}},"37":{"start":{"line":130,"column":4},"end":{"line":136,"column":5}},"38":{"start":{"line":131,"column":25},"end":{"line":131,"column":37}},"39":{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},"40":{"start":{"line":134,"column":12},"end":{"line":134,"column":24}},"41":{"start":{"line":138,"column":4},"end":{"line":138,"column":17}},"42":{"start":{"line":150,"column":67},"end":{"line":150,"column":72}},"43":{"start":{"line":151,"column":18},"end":{"line":151,"column":28}},"44":{"start":{"line":153,"column":28},"end":{"line":153,"column":29}},"45":{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},"46":{"start":{"line":156,"column":8},"end":{"line":156,"column":79}},"47":{"start":{"line":159,"column":28},"end":{"line":159,"column":81}},"48":{"start":{"line":161,"column":4},"end":{"line":171,"column":6}},"49":{"start":{"line":182,"column":20},"end":{"line":182,"column":22}},"50":{"start":{"line":184,"column":65},"end":{"line":184,"column":105}},"51":{"start":{"line":186,"column":4},"end":{"line":189,"column":6}},"52":{"start":{"line":191,"column":4},"end":{"line":199,"column":5}},"53":{"start":{"line":192,"column":8},"end":{"line":198,"column":10}},"54":{"start":{"line":201,"column":27},"end":{"line":201,"column":108}},"55":{"start":{"line":205,"column":4},"end":{"line":228,"column":5}},"56":{"start":{"line":209,"column":8},"end":{"line":209,"column":55}},"57":{"start":{"line":211,"column":20},"end":{"line":211,"column":54}},"58":{"start":{"line":213,"column":18},"end":{"line":213,"column":52}},"59":{"start":{"line":216,"column":8},"end":{"line":216,"column":17}},"60":{"start":{"line":219,"column":8},"end":{"line":227,"column":9}},"61":{"start":{"line":220,"column":12},"end":{"line":226,"column":14}},"62":{"start":{"line":230,"column":4},"end":{"line":230,"column":21}}},"fnMap":{"0":{"name":"isObject","decl":{"start":{"line":26,"column":16},"end":{"line":26,"column":24}},"loc":{"start":{"line":26,"column":30},"end":{"line":28,"column":1}},"line":26},"1":{"name":"histogramDefaultYAxisFormatter","decl":{"start":{"line":35,"column":16},"end":{"line":35,"column":46}},"loc":{"start":{"line":35,"column":54},"end":{"line":40,"column":1}},"line":35},"2":{"name":"multiDateFormat","decl":{"start":{"line":59,"column":16},"end":{"line":59,"column":31}},"loc":{"start":{"line":59,"column":38},"end":{"line":83,"column":1}},"line":59},"3":{"name":"isHistogramDataEqual","decl":{"start":{"line":93,"column":16},"end":{"line":93,"column":36}},"loc":{"start":{"line":93,"column":71},"end":{"line":108,"column":1}},"line":93},"4":{"name":"dateToTimestamp","decl":{"start":{"line":116,"column":16},"end":{"line":116,"column":31}},"loc":{"start":{"line":116,"column":38},"end":{"line":118,"column":1}},"line":116},"5":{"name":"havePropsChanged","decl":{"start":{"line":129,"column":16},"end":{"line":129,"column":32}},"loc":{"start":{"line":129,"column":62},"end":{"line":139,"column":1}},"line":129},"6":{"name":"calculateChartsPositionsAndSizing","decl":{"start":{"line":149,"column":16},"end":{"line":149,"column":49}},"loc":{"start":{"line":149,"column":57},"end":{"line":172,"column":1}},"line":149},"7":{"name":"calculateChartSizesAndDomain","decl":{"start":{"line":181,"column":16},"end":{"line":181,"column":44}},"loc":{"start":{"line":181,"column":87},"end":{"line":231,"column":1}},"line":181}},"branchMap":{"0":{"loc":{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},"type":"if","locations":[{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},{"start":{"line":36,"column":4},"end":{"line":38,"column":5}}],"line":36},"1":{"loc":{"start":{"line":36,"column":8},"end":{"line":36,"column":44}},"type":"binary-expr","locations":[{"start":{"line":36,"column":8},"end":{"line":36,"column":17}},{"start":{"line":36,"column":21},"end":{"line":36,"column":44}}],"line":36},"2":{"loc":{"start":{"line":62,"column":4},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":62,"column":4},"end":{"line":80,"column":5}},{"start":{"line":62,"column":4},"end":{"line":80,"column":5}}],"line":62},"3":{"loc":{"start":{"line":64,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":64,"column":11},"end":{"line":80,"column":5}},{"start":{"line":64,"column":11},"end":{"line":80,"column":5}}],"line":64},"4":{"loc":{"start":{"line":66,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":66,"column":11},"end":{"line":80,"column":5}},{"start":{"line":66,"column":11},"end":{"line":80,"column":5}}],"line":66},"5":{"loc":{"start":{"line":68,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":68,"column":11},"end":{"line":80,"column":5}},{"start":{"line":68,"column":11},"end":{"line":80,"column":5}}],"line":68},"6":{"loc":{"start":{"line":70,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":70,"column":11},"end":{"line":80,"column":5}},{"start":{"line":70,"column":11},"end":{"line":80,"column":5}}],"line":70},"7":{"loc":{"start":{"line":71,"column":8},"end":{"line":75,"column":9}},"type":"if","locations":[{"start":{"line":71,"column":8},"end":{"line":75,"column":9}},{"start":{"line":71,"column":8},"end":{"line":75,"column":9}}],"line":71},"8":{"loc":{"start":{"line":76,"column":11},"end":{"line":80,"column":5}},"type":"if","locations":[{"start":{"line":76,"column":11},"end":{"line":80,"column":5}},{"start":{"line":76,"column":11},"end":{"line":80,"column":5}}],"line":76},"9":{"loc":{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},"type":"if","locations":[{"start":{"line":94,"column":4},"end":{"line":96,"column":5}},{"start":{"line":94,"column":4},"end":{"line":96,"column":5}}],"line":94},"10":{"loc":{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},"type":"if","locations":[{"start":{"line":99,"column":8},"end":{"line":101,"column":9}},{"start":{"line":99,"column":8},"end":{"line":101,"column":9}}],"line":99},"11":{"loc":{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},{"start":{"line":102,"column":8},"end":{"line":104,"column":9}}],"line":102},"12":{"loc":{"start":{"line":117,"column":11},"end":{"line":117,"column":55}},"type":"cond-expr","locations":[{"start":{"line":117,"column":34},"end":{"line":117,"column":48}},{"start":{"line":117,"column":51},"end":{"line":117,"column":55}}],"line":117},"13":{"loc":{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},"type":"if","locations":[{"start":{"line":133,"column":8},"end":{"line":135,"column":9}},{"start":{"line":133,"column":8},"end":{"line":135,"column":9}}],"line":133},"14":{"loc":{"start":{"line":133,"column":12},"end":{"line":133,"column":89}},"type":"binary-expr","locations":[{"start":{"line":133,"column":12},"end":{"line":133,"column":46}},{"start":{"line":133,"column":50},"end":{"line":133,"column":89}}],"line":133},"15":{"loc":{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},"type":"if","locations":[{"start":{"line":155,"column":4},"end":{"line":157,"column":5}},{"start":{"line":155,"column":4},"end":{"line":157,"column":5}}],"line":155},"16":{"loc":{"start":{"line":156,"column":28},"end":{"line":156,"column":78}},"type":"cond-expr","locations":[{"start":{"line":156,"column":60},"end":{"line":156,"column":74}},{"start":{"line":156,"column":77},"end":{"line":156,"column":78}}],"line":156},"17":{"loc":{"start":{"line":191,"column":4},"end":{"line":199,"column":5}},"type":"if","locations":[{"start":{"line":191,"column":4},"end":{"line":199,"column":5}},{"start":{"line":191,"column":4},"end":{"line":199,"column":5}}],"line":191},"18":{"loc":{"start":{"line":205,"column":4},"end":{"line":228,"column":5}},"type":"if","locations":[{"start":{"line":205,"column":4},"end":{"line":228,"column":5}},{"start":{"line":205,"column":4},"end":{"line":228,"column":5}}],"line":205},"19":{"loc":{"start":{"line":219,"column":8},"end":{"line":227,"column":9}},"type":"if","locations":[{"start":{"line":219,"column":8},"end":{"line":227,"column":9}},{"start":{"line":219,"column":8},"end":{"line":227,"column":9}}],"line":219},"20":{"loc":{"start":{"line":219,"column":12},"end":{"line":219,"column":74}},"type":"binary-expr","locations":[{"start":{"line":219,"column":12},"end":{"line":219,"column":41}},{"start":{"line":219,"column":45},"end":{"line":219,"column":74}}],"line":219}},"s":{"0":7,"1":5,"2":1,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4,"10":4,"11":4,"12":1,"13":0,"14":1,"15":0,"16":1,"17":0,"18":1,"19":0,"20":1,"21":0,"22":0,"23":0,"24":1,"25":0,"26":1,"27":1,"28":27,"29":6,"30":21,"31":175,"32":1,"33":174,"34":1,"35":19,"36":92,"37":5,"38":6,"39":6,"40":2,"41":3,"42":22,"43":22,"44":22,"45":22,"46":18,"47":22,"48":22,"49":20,"50":20,"51":20,"52":20,"53":3,"54":17,"55":17,"56":6,"57":6,"58":6,"59":6,"60":6,"61":5,"62":17},"f":{"0":7,"1":5,"2":1,"3":27,"4":92,"5":5,"6":22,"7":20},"b":{"0":[1,4],"1":[5,2],"2":[0,1],"3":[0,1],"4":[0,1],"5":[0,1],"6":[0,1],"7":[0,0],"8":[0,1],"9":[6,21],"10":[1,174],"11":[1,173],"12":[44,48],"13":[2,4],"14":[6,4],"15":[18,4],"16":[18,0],"17":[3,17],"18":[6,11],"19":[5,1],"20":[6,2]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"4cc2f8376432968630644f6fabbcd001704e8692"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/DensityChart.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/DensityChart.js","statementMap":{"0":{"start":{"line":50,"column":8},"end":{"line":50,"column":21}},"1":{"start":{"line":52,"column":8},"end":{"line":52,"column":49}},"2":{"start":{"line":53,"column":8},"end":{"line":53,"column":49}},"3":{"start":{"line":57,"column":8},"end":{"line":57,"column":88}},"4":{"start":{"line":59,"column":54},"end":{"line":59,"column":64}},"5":{"start":{"line":61,"column":8},"end":{"line":66,"column":50}},"6":{"start":{"line":68,"column":8},"end":{"line":68,"column":28}},"7":{"start":{"line":70,"column":8},"end":{"line":70,"column":52}},"8":{"start":{"line":72,"column":8},"end":{"line":72,"column":33}},"9":{"start":{"line":76,"column":71},"end":{"line":76,"column":81}},"10":{"start":{"line":78,"column":8},"end":{"line":78,"column":28}},"11":{"start":{"line":80,"column":8},"end":{"line":80,"column":98}},"12":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"13":{"start":{"line":85,"column":12},"end":{"line":85,"column":37}},"14":{"start":{"line":90,"column":8},"end":{"line":90,"column":41}},"15":{"start":{"line":91,"column":8},"end":{"line":91,"column":41}},"16":{"start":{"line":103,"column":22},"end":{"line":103,"column":40}},"17":{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},"18":{"start":{"line":106,"column":12},"end":{"line":106,"column":19}},"19":{"start":{"line":111,"column":8},"end":{"line":116,"column":9}},"20":{"start":{"line":112,"column":12},"end":{"line":112,"column":45}},"21":{"start":{"line":115,"column":12},"end":{"line":115,"column":67}},"22":{"start":{"line":118,"column":8},"end":{"line":118,"column":51}},"23":{"start":{"line":129,"column":8},"end":{"line":129,"column":23}},"24":{"start":{"line":137,"column":8},"end":{"line":139,"column":9}},"25":{"start":{"line":138,"column":12},"end":{"line":138,"column":19}},"26":{"start":{"line":141,"column":8},"end":{"line":142,"column":30}},"27":{"start":{"line":151,"column":8},"end":{"line":153,"column":9}},"28":{"start":{"line":152,"column":12},"end":{"line":152,"column":19}},"29":{"start":{"line":155,"column":8},"end":{"line":156,"column":43}},"30":{"start":{"line":166,"column":8},"end":{"line":173,"column":11}},"31":{"start":{"line":194,"column":12},"end":{"line":194,"column":22}},"32":{"start":{"line":196,"column":8},"end":{"line":196,"column":67}},"33":{"start":{"line":198,"column":8},"end":{"line":212,"column":9}},"34":{"start":{"line":199,"column":22},"end":{"line":199,"column":40}},"35":{"start":{"line":200,"column":42},"end":{"line":200,"column":83}},"36":{"start":{"line":202,"column":12},"end":{"line":211,"column":14}},"37":{"start":{"line":221,"column":56},"end":{"line":221,"column":66}},"38":{"start":{"line":223,"column":8},"end":{"line":225,"column":9}},"39":{"start":{"line":224,"column":12},"end":{"line":224,"column":24}},"40":{"start":{"line":227,"column":8},"end":{"line":237,"column":10}},"41":{"start":{"line":241,"column":26},"end":{"line":241,"column":27}},"42":{"start":{"line":243,"column":43},"end":{"line":243,"column":53}},"43":{"start":{"line":245,"column":8},"end":{"line":247,"column":9}},"44":{"start":{"line":246,"column":12},"end":{"line":246,"column":38}},"45":{"start":{"line":249,"column":40},"end":{"line":249,"column":61}},"46":{"start":{"line":251,"column":8},"end":{"line":273,"column":10}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":49,"column":4},"end":{"line":49,"column":5}},"loc":{"start":{"line":49,"column":23},"end":{"line":54,"column":5}},"line":49},"1":{"name":"(anonymous_1)","decl":{"start":{"line":56,"column":4},"end":{"line":56,"column":5}},"loc":{"start":{"line":56,"column":24},"end":{"line":73,"column":5}},"line":56},"2":{"name":"(anonymous_2)","decl":{"start":{"line":75,"column":4},"end":{"line":75,"column":5}},"loc":{"start":{"line":75,"column":34},"end":{"line":87,"column":5}},"line":75},"3":{"name":"(anonymous_3)","decl":{"start":{"line":89,"column":4},"end":{"line":89,"column":5}},"loc":{"start":{"line":89,"column":27},"end":{"line":92,"column":5}},"line":89},"4":{"name":"(anonymous_4)","decl":{"start":{"line":100,"column":21},"end":{"line":100,"column":22}},"loc":{"start":{"line":100,"column":27},"end":{"line":119,"column":5}},"line":100},"5":{"name":"(anonymous_5)","decl":{"start":{"line":128,"column":4},"end":{"line":128,"column":5}},"loc":{"start":{"line":128,"column":18},"end":{"line":130,"column":5}},"line":128},"6":{"name":"(anonymous_6)","decl":{"start":{"line":136,"column":4},"end":{"line":136,"column":5}},"loc":{"start":{"line":136,"column":19},"end":{"line":143,"column":5}},"line":136},"7":{"name":"(anonymous_7)","decl":{"start":{"line":150,"column":17},"end":{"line":150,"column":18}},"loc":{"start":{"line":150,"column":29},"end":{"line":157,"column":5}},"line":150},"8":{"name":"(anonymous_8)","decl":{"start":{"line":165,"column":4},"end":{"line":165,"column":5}},"loc":{"start":{"line":165,"column":41},"end":{"line":174,"column":5}},"line":165},"9":{"name":"(anonymous_9)","decl":{"start":{"line":183,"column":4},"end":{"line":183,"column":5}},"loc":{"start":{"line":183,"column":24},"end":{"line":213,"column":5}},"line":183},"10":{"name":"(anonymous_10)","decl":{"start":{"line":219,"column":4},"end":{"line":219,"column":5}},"loc":{"start":{"line":219,"column":24},"end":{"line":238,"column":5}},"line":219},"11":{"name":"(anonymous_11)","decl":{"start":{"line":240,"column":4},"end":{"line":240,"column":5}},"loc":{"start":{"line":240,"column":13},"end":{"line":274,"column":5}},"line":240}},"branchMap":{"0":{"loc":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"type":"if","locations":[{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},{"start":{"line":84,"column":8},"end":{"line":86,"column":9}}],"line":84},"1":{"loc":{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},"type":"if","locations":[{"start":{"line":105,"column":8},"end":{"line":107,"column":9}},{"start":{"line":105,"column":8},"end":{"line":107,"column":9}}],"line":105},"2":{"loc":{"start":{"line":105,"column":12},"end":{"line":105,"column":66}},"type":"binary-expr","locations":[{"start":{"line":105,"column":12},"end":{"line":105,"column":29}},{"start":{"line":105,"column":33},"end":{"line":105,"column":66}}],"line":105},"3":{"loc":{"start":{"line":111,"column":8},"end":{"line":116,"column":9}},"type":"if","locations":[{"start":{"line":111,"column":8},"end":{"line":116,"column":9}},{"start":{"line":111,"column":8},"end":{"line":116,"column":9}}],"line":111},"4":{"loc":{"start":{"line":137,"column":8},"end":{"line":139,"column":9}},"type":"if","locations":[{"start":{"line":137,"column":8},"end":{"line":139,"column":9}},{"start":{"line":137,"column":8},"end":{"line":139,"column":9}}],"line":137},"5":{"loc":{"start":{"line":151,"column":8},"end":{"line":153,"column":9}},"type":"if","locations":[{"start":{"line":151,"column":8},"end":{"line":153,"column":9}},{"start":{"line":151,"column":8},"end":{"line":153,"column":9}}],"line":151},"6":{"loc":{"start":{"line":200,"column":42},"end":{"line":200,"column":83}},"type":"binary-expr","locations":[{"start":{"line":200,"column":42},"end":{"line":200,"column":61}},{"start":{"line":200,"column":65},"end":{"line":200,"column":83}}],"line":200},"7":{"loc":{"start":{"line":209,"column":31},"end":{"line":209,"column":107}},"type":"cond-expr","locations":[{"start":{"line":209,"column":55},"end":{"line":209,"column":77}},{"start":{"line":209,"column":80},"end":{"line":209,"column":107}}],"line":209},"8":{"loc":{"start":{"line":223,"column":8},"end":{"line":225,"column":9}},"type":"if","locations":[{"start":{"line":223,"column":8},"end":{"line":225,"column":9}},{"start":{"line":223,"column":8},"end":{"line":225,"column":9}}],"line":223},"9":{"loc":{"start":{"line":245,"column":8},"end":{"line":247,"column":9}},"type":"if","locations":[{"start":{"line":245,"column":8},"end":{"line":247,"column":9}},{"start":{"line":245,"column":8},"end":{"line":247,"column":9}}],"line":245}},"s":{"0":10,"1":10,"2":10,"3":10,"4":10,"5":10,"6":10,"7":10,"8":10,"9":1,"10":1,"11":1,"12":1,"13":1,"14":0,"15":0,"16":23,"17":23,"18":1,"19":22,"20":21,"21":1,"22":22,"23":20,"24":11,"25":1,"26":10,"27":11,"28":1,"29":10,"30":1,"31":11,"32":11,"33":11,"34":100,"35":100,"36":100,"37":11,"38":11,"39":2,"40":9,"41":11,"42":11,"43":11,"44":2,"45":11,"46":11},"f":{"0":10,"1":10,"2":1,"3":0,"4":23,"5":20,"6":11,"7":11,"8":1,"9":11,"10":11,"11":11},"b":{"0":[1,0],"1":[1,22],"2":[23,3],"3":[21,1],"4":[1,10],"5":[1,10],"6":[100,99],"7":[94,6],"8":[2,9],"9":[2,9]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"815605bbac7fd3827e915aa9eba63c9bf8abdbeb"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/PlayButton.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/DensityChart/PlayButton.js","statementMap":{"0":{"start":{"line":5,"column":24},"end":{"line":8,"column":83}},"1":{"start":{"line":10,"column":24},"end":{"line":15,"column":1}},"2":{"start":{"line":57,"column":89},"end":{"line":57,"column":99}},"3":{"start":{"line":58,"column":32},"end":{"line":58,"column":66}},"4":{"start":{"line":59,"column":32},"end":{"line":59,"column":66}},"5":{"start":{"line":60,"column":27},"end":{"line":60,"column":42}},"6":{"start":{"line":62,"column":24},"end":{"line":62,"column":29}},"7":{"start":{"line":63,"column":25},"end":{"line":63,"column":42}},"8":{"start":{"line":65,"column":8},"end":{"line":65,"column":35}},"9":{"start":{"line":67,"column":8},"end":{"line":71,"column":9}},"10":{"start":{"line":68,"column":12},"end":{"line":68,"column":39}},"11":{"start":{"line":70,"column":12},"end":{"line":70,"column":44}},"12":{"start":{"line":73,"column":8},"end":{"line":75,"column":75}},"13":{"start":{"line":75,"column":17},"end":{"line":75,"column":73}},"14":{"start":{"line":85,"column":8},"end":{"line":85,"column":26}},"15":{"start":{"line":100,"column":8},"end":{"line":103,"column":9}},"16":{"start":{"line":101,"column":12},"end":{"line":101,"column":30}},"17":{"start":{"line":102,"column":12},"end":{"line":102,"column":19}},"18":{"start":{"line":106,"column":8},"end":{"line":112,"column":9}},"19":{"start":{"line":108,"column":12},"end":{"line":108,"column":32}},"20":{"start":{"line":111,"column":12},"end":{"line":111,"column":34}},"21":{"start":{"line":113,"column":23},"end":{"line":113,"column":45}},"22":{"start":{"line":116,"column":8},"end":{"line":116,"column":37}},"23":{"start":{"line":129,"column":8},"end":{"line":131,"column":34}},"24":{"start":{"line":130,"column":12},"end":{"line":130,"column":46}},"25":{"start":{"line":141,"column":8},"end":{"line":143,"column":51}},"26":{"start":{"line":143,"column":17},"end":{"line":143,"column":49}},"27":{"start":{"line":147,"column":24},"end":{"line":147,"column":79}},"28":{"start":{"line":151,"column":8},"end":{"line":164,"column":9}},"29":{"start":{"line":152,"column":12},"end":{"line":156,"column":14}},"30":{"start":{"line":158,"column":12},"end":{"line":163,"column":14}},"31":{"start":{"line":166,"column":8},"end":{"line":172,"column":13}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":56,"column":19},"end":{"line":56,"column":20}},"loc":{"start":{"line":56,"column":25},"end":{"line":76,"column":5}},"line":56},"1":{"name":"(anonymous_1)","decl":{"start":{"line":75,"column":11},"end":{"line":75,"column":12}},"loc":{"start":{"line":75,"column":17},"end":{"line":75,"column":73}},"line":75},"2":{"name":"(anonymous_2)","decl":{"start":{"line":84,"column":19},"end":{"line":84,"column":20}},"loc":{"start":{"line":84,"column":25},"end":{"line":86,"column":5}},"line":84},"3":{"name":"(anonymous_3)","decl":{"start":{"line":97,"column":4},"end":{"line":97,"column":5}},"loc":{"start":{"line":97,"column":33},"end":{"line":117,"column":5}},"line":97},"4":{"name":"(anonymous_4)","decl":{"start":{"line":128,"column":4},"end":{"line":128,"column":5}},"loc":{"start":{"line":128,"column":43},"end":{"line":132,"column":5}},"line":128},"5":{"name":"(anonymous_5)","decl":{"start":{"line":129,"column":40},"end":{"line":129,"column":41}},"loc":{"start":{"line":129,"column":46},"end":{"line":131,"column":9}},"line":129},"6":{"name":"(anonymous_6)","decl":{"start":{"line":140,"column":4},"end":{"line":140,"column":5}},"loc":{"start":{"line":140,"column":17},"end":{"line":144,"column":5}},"line":140},"7":{"name":"(anonymous_7)","decl":{"start":{"line":143,"column":11},"end":{"line":143,"column":12}},"loc":{"start":{"line":143,"column":17},"end":{"line":143,"column":49}},"line":143},"8":{"name":"(anonymous_8)","decl":{"start":{"line":146,"column":4},"end":{"line":146,"column":5}},"loc":{"start":{"line":146,"column":13},"end":{"line":173,"column":5}},"line":146}},"branchMap":{"0":{"loc":{"start":{"line":67,"column":8},"end":{"line":71,"column":9}},"type":"if","locations":[{"start":{"line":67,"column":8},"end":{"line":71,"column":9}},{"start":{"line":67,"column":8},"end":{"line":71,"column":9}}],"line":67},"1":{"loc":{"start":{"line":100,"column":8},"end":{"line":103,"column":9}},"type":"if","locations":[{"start":{"line":100,"column":8},"end":{"line":103,"column":9}},{"start":{"line":100,"column":8},"end":{"line":103,"column":9}}],"line":100},"2":{"loc":{"start":{"line":106,"column":8},"end":{"line":112,"column":9}},"type":"if","locations":[{"start":{"line":106,"column":8},"end":{"line":112,"column":9}},{"start":{"line":106,"column":8},"end":{"line":112,"column":9}}],"line":106},"3":{"loc":{"start":{"line":147,"column":24},"end":{"line":147,"column":79}},"type":"cond-expr","locations":[{"start":{"line":147,"column":42},"end":{"line":147,"column":59}},{"start":{"line":147,"column":62},"end":{"line":147,"column":79}}],"line":147},"4":{"loc":{"start":{"line":151,"column":8},"end":{"line":164,"column":9}},"type":"if","locations":[{"start":{"line":151,"column":8},"end":{"line":164,"column":9}},{"start":{"line":151,"column":8},"end":{"line":164,"column":9}}],"line":151}},"s":{"0":3,"1":3,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2,"10":1,"11":1,"12":2,"13":2,"14":0,"15":3,"16":1,"17":1,"18":2,"19":1,"20":1,"21":2,"22":2,"23":2,"24":0,"25":0,"26":0,"27":18,"28":18,"29":2,"30":16,"31":18},"f":{"0":2,"1":2,"2":0,"3":3,"4":2,"5":0,"6":0,"7":0,"8":18},"b":{"0":[1,1],"1":[1,2],"2":[1,1],"3":[2,16],"4":[2,16]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ed70ac8e33a9da9f8ed1c270e2c8e0f12b081800"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/Histogram/Histogram.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/src/Histogram/Histogram.js","statementMap":{"0":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"1":{"start":{"line":85,"column":12},"end":{"line":85,"column":76}},"2":{"start":{"line":91,"column":8},"end":{"line":93,"column":9}},"3":{"start":{"line":92,"column":12},"end":{"line":92,"column":24}},"4":{"start":{"line":95,"column":26},"end":{"line":95,"column":92}},"5":{"start":{"line":97,"column":8},"end":{"line":97,"column":68}},"6":{"start":{"line":101,"column":8},"end":{"line":101,"column":21}},"7":{"start":{"line":103,"column":8},"end":{"line":103,"column":51}},"8":{"start":{"line":104,"column":8},"end":{"line":104,"column":51}},"9":{"start":{"line":105,"column":8},"end":{"line":105,"column":51}},"10":{"start":{"line":109,"column":8},"end":{"line":116,"column":12}},"11":{"start":{"line":118,"column":8},"end":{"line":118,"column":35}},"12":{"start":{"line":122,"column":8},"end":{"line":122,"column":40}},"13":{"start":{"line":126,"column":32},"end":{"line":126,"column":78}},"14":{"start":{"line":127,"column":31},"end":{"line":128,"column":113}},"15":{"start":{"line":130,"column":8},"end":{"line":133,"column":9}},"16":{"start":{"line":131,"column":12},"end":{"line":131,"column":39}},"17":{"start":{"line":132,"column":12},"end":{"line":132,"column":44}},"18":{"start":{"line":137,"column":8},"end":{"line":137,"column":35}},"19":{"start":{"line":147,"column":34},"end":{"line":147,"column":51}},"20":{"start":{"line":148,"column":34},"end":{"line":148,"column":51}},"21":{"start":{"line":151,"column":30},"end":{"line":151,"column":80}},"22":{"start":{"line":153,"column":8},"end":{"line":155,"column":47}},"23":{"start":{"line":157,"column":8},"end":{"line":157,"column":76}},"24":{"start":{"line":169,"column":8},"end":{"line":171,"column":9}},"25":{"start":{"line":170,"column":12},"end":{"line":170,"column":19}},"26":{"start":{"line":173,"column":30},"end":{"line":173,"column":37}},"27":{"start":{"line":177,"column":30},"end":{"line":177,"column":82}},"28":{"start":{"line":179,"column":8},"end":{"line":179,"column":76}},"29":{"start":{"line":189,"column":22},"end":{"line":189,"column":66}},"30":{"start":{"line":193,"column":30},"end":{"line":193,"column":47}},"31":{"start":{"line":195,"column":8},"end":{"line":203,"column":11}},"32":{"start":{"line":196,"column":24},"end":{"line":196,"column":54}},"33":{"start":{"line":198,"column":12},"end":{"line":202,"column":14}},"34":{"start":{"line":211,"column":8},"end":{"line":213,"column":11}},"35":{"start":{"line":221,"column":29},"end":{"line":221,"column":51}},"36":{"start":{"line":222,"column":34},"end":{"line":222,"column":69}},"37":{"start":{"line":224,"column":8},"end":{"line":226,"column":67}},"38":{"start":{"line":229,"column":31},"end":{"line":229,"column":67}},"39":{"start":{"line":231,"column":8},"end":{"line":241,"column":44}},"40":{"start":{"line":249,"column":8},"end":{"line":249,"column":65}},"41":{"start":{"line":251,"column":8},"end":{"line":251,"column":43}},"42":{"start":{"line":262,"column":8},"end":{"line":280,"column":9}},"43":{"start":{"line":264,"column":12},"end":{"line":270,"column":49}},"44":{"start":{"line":272,"column":31},"end":{"line":272,"column":63}},"45":{"start":{"line":273,"column":33},"end":{"line":274,"column":73}},"46":{"start":{"line":276,"column":12},"end":{"line":279,"column":29}},"47":{"start":{"line":290,"column":8},"end":{"line":290,"column":48}},"48":{"start":{"line":292,"column":8},"end":{"line":298,"column":46}},"49":{"start":{"line":301,"column":34},"end":{"line":307,"column":10}},"50":{"start":{"line":311,"column":8},"end":{"line":315,"column":9}},"51":{"start":{"line":312,"column":12},"end":{"line":312,"column":21}},"52":{"start":{"line":314,"column":12},"end":{"line":314,"column":65}},"53":{"start":{"line":314,"column":53},"end":{"line":314,"column":63}},"54":{"start":{"line":318,"column":8},"end":{"line":320,"column":75}},"55":{"start":{"line":322,"column":8},"end":{"line":326,"column":11}},"56":{"start":{"line":325,"column":12},"end":{"line":325,"column":40}},"57":{"start":{"line":337,"column":8},"end":{"line":371,"column":11}},"58":{"start":{"line":338,"column":44},"end":{"line":344,"column":14}},"59":{"start":{"line":346,"column":12},"end":{"line":348,"column":13}},"60":{"start":{"line":347,"column":16},"end":{"line":347,"column":28}},"61":{"start":{"line":350,"column":31},"end":{"line":350,"column":61}},"62":{"start":{"line":351,"column":31},"end":{"line":351,"column":61}},"63":{"start":{"line":354,"column":12},"end":{"line":357,"column":13}},"64":{"start":{"line":355,"column":16},"end":{"line":355,"column":36}},"65":{"start":{"line":356,"column":16},"end":{"line":356,"column":36}},"66":{"start":{"line":359,"column":12},"end":{"line":370,"column":14}},"67":{"start":{"line":382,"column":36},"end":{"line":387,"column":66}},"68":{"start":{"line":390,"column":31},"end":{"line":392,"column":50}},"69":{"start":{"line":394,"column":8},"end":{"line":395,"column":34}},"70":{"start":{"line":397,"column":31},"end":{"line":400,"column":50}},"71":{"start":{"line":402,"column":8},"end":{"line":403,"column":34}},"72":{"start":{"line":418,"column":29},"end":{"line":422,"column":9}},"73":{"start":{"line":424,"column":8},"end":{"line":426,"column":9}},"74":{"start":{"line":425,"column":12},"end":{"line":425,"column":24}},"75":{"start":{"line":428,"column":31},"end":{"line":428,"column":77}},"76":{"start":{"line":430,"column":8},"end":{"line":437,"column":10}},"77":{"start":{"line":446,"column":40},"end":{"line":446,"column":102}},"78":{"start":{"line":447,"column":40},"end":{"line":447,"column":102}},"79":{"start":{"line":449,"column":64},"end":{"line":449,"column":74}},"80":{"start":{"line":450,"column":45},"end":{"line":450,"column":55}},"81":{"start":{"line":452,"column":8},"end":{"line":479,"column":10}},"82":{"start":{"line":487,"column":56},"end":{"line":487,"column":66}},"83":{"start":{"line":489,"column":68},"end":{"line":489,"column":78}},"84":{"start":{"line":491,"column":8},"end":{"line":509,"column":10}},"85":{"start":{"line":513,"column":8},"end":{"line":519,"column":10}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":78,"column":26},"end":{"line":78,"column":27}},"loc":{"start":{"line":78,"column":32},"end":{"line":78,"column":34}},"line":78},"1":{"name":"(anonymous_1)","decl":{"start":{"line":83,"column":4},"end":{"line":83,"column":5}},"loc":{"start":{"line":83,"column":50},"end":{"line":98,"column":5}},"line":83},"2":{"name":"(anonymous_2)","decl":{"start":{"line":100,"column":4},"end":{"line":100,"column":5}},"loc":{"start":{"line":100,"column":23},"end":{"line":119,"column":5}},"line":100},"3":{"name":"(anonymous_3)","decl":{"start":{"line":121,"column":4},"end":{"line":121,"column":5}},"loc":{"start":{"line":121,"column":24},"end":{"line":123,"column":5}},"line":121},"4":{"name":"(anonymous_4)","decl":{"start":{"line":125,"column":4},"end":{"line":125,"column":5}},"loc":{"start":{"line":125,"column":34},"end":{"line":134,"column":5}},"line":125},"5":{"name":"(anonymous_5)","decl":{"start":{"line":136,"column":4},"end":{"line":136,"column":5}},"loc":{"start":{"line":136,"column":27},"end":{"line":138,"column":5}},"line":136},"6":{"name":"(anonymous_6)","decl":{"start":{"line":146,"column":35},"end":{"line":146,"column":36}},"loc":{"start":{"line":146,"column":55},"end":{"line":158,"column":5}},"line":146},"7":{"name":"(anonymous_7)","decl":{"start":{"line":168,"column":20},"end":{"line":168,"column":21}},"loc":{"start":{"line":168,"column":26},"end":{"line":180,"column":5}},"line":168},"8":{"name":"(anonymous_8)","decl":{"start":{"line":188,"column":32},"end":{"line":188,"column":33}},"loc":{"start":{"line":188,"column":41},"end":{"line":204,"column":5}},"line":188},"9":{"name":"(anonymous_9)","decl":{"start":{"line":195,"column":22},"end":{"line":195,"column":23}},"loc":{"start":{"line":195,"column":33},"end":{"line":203,"column":9}},"line":195},"10":{"name":"(anonymous_10)","decl":{"start":{"line":210,"column":32},"end":{"line":210,"column":33}},"loc":{"start":{"line":210,"column":38},"end":{"line":214,"column":5}},"line":210},"11":{"name":"(anonymous_11)","decl":{"start":{"line":220,"column":4},"end":{"line":220,"column":5}},"loc":{"start":{"line":220,"column":26},"end":{"line":242,"column":5}},"line":220},"12":{"name":"(anonymous_12)","decl":{"start":{"line":248,"column":4},"end":{"line":248,"column":5}},"loc":{"start":{"line":248,"column":31},"end":{"line":252,"column":5}},"line":248},"13":{"name":"(anonymous_13)","decl":{"start":{"line":261,"column":4},"end":{"line":261,"column":5}},"loc":{"start":{"line":261,"column":67},"end":{"line":281,"column":5}},"line":261},"14":{"name":"(anonymous_14)","decl":{"start":{"line":289,"column":4},"end":{"line":289,"column":5}},"loc":{"start":{"line":289,"column":34},"end":{"line":327,"column":5}},"line":289},"15":{"name":"(anonymous_15)","decl":{"start":{"line":314,"column":44},"end":{"line":314,"column":45}},"loc":{"start":{"line":314,"column":53},"end":{"line":314,"column":63}},"line":314},"16":{"name":"(anonymous_16)","decl":{"start":{"line":324,"column":11},"end":{"line":324,"column":12}},"loc":{"start":{"line":324,"column":17},"end":{"line":326,"column":9}},"line":324},"17":{"name":"(anonymous_17)","decl":{"start":{"line":336,"column":4},"end":{"line":336,"column":5}},"loc":{"start":{"line":336,"column":44},"end":{"line":372,"column":5}},"line":336},"18":{"name":"(anonymous_18)","decl":{"start":{"line":337,"column":37},"end":{"line":337,"column":38}},"loc":{"start":{"line":337,"column":53},"end":{"line":371,"column":9}},"line":337},"19":{"name":"(anonymous_19)","decl":{"start":{"line":381,"column":4},"end":{"line":381,"column":5}},"loc":{"start":{"line":381,"column":27},"end":{"line":404,"column":5}},"line":381},"20":{"name":"(anonymous_20)","decl":{"start":{"line":417,"column":4},"end":{"line":417,"column":5}},"loc":{"start":{"line":417,"column":34},"end":{"line":438,"column":5}},"line":417},"21":{"name":"(anonymous_21)","decl":{"start":{"line":444,"column":4},"end":{"line":444,"column":5}},"loc":{"start":{"line":444,"column":28},"end":{"line":480,"column":5}},"line":444},"22":{"name":"(anonymous_22)","decl":{"start":{"line":486,"column":4},"end":{"line":486,"column":5}},"loc":{"start":{"line":486,"column":26},"end":{"line":510,"column":5}},"line":486},"23":{"name":"(anonymous_23)","decl":{"start":{"line":512,"column":4},"end":{"line":512,"column":5}},"loc":{"start":{"line":512,"column":13},"end":{"line":520,"column":5}},"line":512}},"branchMap":{"0":{"loc":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"type":"if","locations":[{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},{"start":{"line":84,"column":8},"end":{"line":86,"column":9}}],"line":84},"1":{"loc":{"start":{"line":91,"column":8},"end":{"line":93,"column":9}},"type":"if","locations":[{"start":{"line":91,"column":8},"end":{"line":93,"column":9}},{"start":{"line":91,"column":8},"end":{"line":93,"column":9}}],"line":91},"2":{"loc":{"start":{"line":97,"column":15},"end":{"line":97,"column":67}},"type":"cond-expr","locations":[{"start":{"line":97,"column":51},"end":{"line":97,"column":60}},{"start":{"line":97,"column":63},"end":{"line":97,"column":67}}],"line":97},"3":{"loc":{"start":{"line":127,"column":31},"end":{"line":128,"column":113}},"type":"binary-expr","locations":[{"start":{"line":127,"column":31},"end":{"line":127,"column":79}},{"start":{"line":128,"column":15},"end":{"line":128,"column":113}}],"line":127},"4":{"loc":{"start":{"line":130,"column":8},"end":{"line":133,"column":9}},"type":"if","locations":[{"start":{"line":130,"column":8},"end":{"line":133,"column":9}},{"start":{"line":130,"column":8},"end":{"line":133,"column":9}}],"line":130},"5":{"loc":{"start":{"line":130,"column":13},"end":{"line":130,"column":46}},"type":"binary-expr","locations":[{"start":{"line":130,"column":13},"end":{"line":130,"column":28}},{"start":{"line":130,"column":32},"end":{"line":130,"column":46}}],"line":130},"6":{"loc":{"start":{"line":169,"column":8},"end":{"line":171,"column":9}},"type":"if","locations":[{"start":{"line":169,"column":8},"end":{"line":171,"column":9}},{"start":{"line":169,"column":8},"end":{"line":171,"column":9}}],"line":169},"7":{"loc":{"start":{"line":169,"column":12},"end":{"line":169,"column":71}},"type":"binary-expr","locations":[{"start":{"line":169,"column":12},"end":{"line":169,"column":31}},{"start":{"line":169,"column":35},"end":{"line":169,"column":71}}],"line":169},"8":{"loc":{"start":{"line":262,"column":8},"end":{"line":280,"column":9}},"type":"if","locations":[{"start":{"line":262,"column":8},"end":{"line":280,"column":9}},{"start":{"line":262,"column":8},"end":{"line":280,"column":9}}],"line":262},"9":{"loc":{"start":{"line":262,"column":12},"end":{"line":263,"column":100}},"type":"binary-expr","locations":[{"start":{"line":262,"column":12},"end":{"line":262,"column":93}},{"start":{"line":263,"column":19},"end":{"line":263,"column":100}}],"line":262},"10":{"loc":{"start":{"line":273,"column":33},"end":{"line":274,"column":73}},"type":"binary-expr","locations":[{"start":{"line":273,"column":33},"end":{"line":273,"column":87}},{"start":{"line":274,"column":19},"end":{"line":274,"column":73}}],"line":273},"11":{"loc":{"start":{"line":311,"column":8},"end":{"line":315,"column":9}},"type":"if","locations":[{"start":{"line":311,"column":8},"end":{"line":315,"column":9}},{"start":{"line":311,"column":8},"end":{"line":315,"column":9}}],"line":311},"12":{"loc":{"start":{"line":346,"column":12},"end":{"line":348,"column":13}},"type":"if","locations":[{"start":{"line":346,"column":12},"end":{"line":348,"column":13}},{"start":{"line":346,"column":12},"end":{"line":348,"column":13}}],"line":346},"13":{"loc":{"start":{"line":354,"column":12},"end":{"line":357,"column":13}},"type":"if","locations":[{"start":{"line":354,"column":12},"end":{"line":357,"column":13}},{"start":{"line":354,"column":12},"end":{"line":357,"column":13}}],"line":354},"14":{"loc":{"start":{"line":424,"column":8},"end":{"line":426,"column":9}},"type":"if","locations":[{"start":{"line":424,"column":8},"end":{"line":426,"column":9}},{"start":{"line":424,"column":8},"end":{"line":426,"column":9}}],"line":424},"15":{"loc":{"start":{"line":505,"column":34},"end":{"line":505,"column":69}},"type":"binary-expr","locations":[{"start":{"line":505,"column":34},"end":{"line":505,"column":50}},{"start":{"line":505,"column":54},"end":{"line":505,"column":69}}],"line":505},"16":{"loc":{"start":{"line":515,"column":17},"end":{"line":515,"column":106}},"type":"cond-expr","locations":[{"start":{"line":515,"column":54},"end":{"line":515,"column":99}},{"start":{"line":515,"column":102},"end":{"line":515,"column":106}}],"line":515}},"s":{"0":12,"1":0,"2":12,"3":0,"4":12,"5":12,"6":5,"7":5,"8":5,"9":5,"10":5,"11":5,"12":5,"13":7,"14":7,"15":7,"16":0,"17":0,"18":0,"19":10,"20":10,"21":10,"22":10,"23":10,"24":10,"25":5,"26":5,"27":5,"28":5,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":5,"36":5,"37":5,"38":5,"39":5,"40":5,"41":5,"42":17,"43":1,"44":1,"45":1,"46":1,"47":6,"48":6,"49":6,"50":6,"51":1,"52":5,"53":110,"54":6,"55":6,"56":6,"57":12,"58":154,"59":154,"60":0,"61":154,"62":154,"63":154,"64":0,"65":0,"66":154,"67":6,"68":6,"69":6,"70":6,"71":6,"72":0,"73":0,"74":0,"75":0,"76":0,"77":12,"78":12,"79":12,"80":12,"81":12,"82":12,"83":12,"84":12,"85":12},"f":{"0":0,"1":12,"2":5,"3":5,"4":7,"5":0,"6":10,"7":10,"8":0,"9":0,"10":0,"11":5,"12":5,"13":17,"14":6,"15":110,"16":6,"17":12,"18":154,"19":6,"20":0,"21":12,"22":12,"23":12},"b":{"0":[0,12],"1":[0,12],"2":[12,0],"3":[7,7],"4":[0,7],"5":[7,7],"6":[5,5],"7":[10,10],"8":[1,16],"9":[17,16],"10":[1,0],"11":[1,5],"12":[0,154],"13":[0,154],"14":[0,0],"15":[12,12],"16":[0,12]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d02cb8059c9c1a3c8bf1aec9c6a89e1dc7ecb357"} | ||
,"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/stories/sampleData.js": {"path":"/Users/luis.cardoso/Documents/GitHub/brushable-histogram/stories/sampleData.js","statementMap":{"0":{"start":{"line":1,"column":25},"end":{"line":1,"column":29}},"1":{"start":{"line":2,"column":23},"end":{"line":2,"column":36}},"2":{"start":{"line":11,"column":17},"end":{"line":11,"column":19}},"3":{"start":{"line":13,"column":4},"end":{"line":18,"column":5}},"4":{"start":{"line":14,"column":8},"end":{"line":17,"column":11}},"5":{"start":{"line":20,"column":4},"end":{"line":20,"column":16}},"6":{"start":{"line":25,"column":27},"end":{"line":25,"column":40}}},"fnMap":{"0":{"name":"calculate","decl":{"start":{"line":10,"column":16},"end":{"line":10,"column":25}},"loc":{"start":{"line":10,"column":42},"end":{"line":21,"column":1}},"line":10}},"branchMap":{},"s":{"0":4,"1":4,"2":8,"3":8,"4":4040,"5":8,"6":4},"f":{"0":8},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ee2127cf5733056f43b1a110c589e891cf23d006"} | ||
} |
@@ -60,2 +60,6 @@ "use strict"; | ||
(0, _defineProperty2.default)(this, "_moveBrush", domain => { | ||
if (this.props.data.length === 0) { | ||
return; | ||
} | ||
(0, _d3Selection.select)(this.densityBrushRef.current).call(this.brush.move, domain); | ||
@@ -128,2 +132,6 @@ }); | ||
_updateBrush() { | ||
if (this.props.data.length === 0) { | ||
return; | ||
} | ||
(0, _d3Selection.select)(this.densityBrushRef.current).call(this.brush); | ||
@@ -130,0 +138,0 @@ } |
@@ -56,2 +56,9 @@ "use strict"; | ||
throw new Error(`The minimum height is ${_constants.MIN_TOTAL_HEIGHT}px.`); | ||
} // Sometimes the width will be zero, for example when swithing between storybook | ||
// stories. In those cases we don't want to do anything so that the histogram | ||
// does not enter into an invalid state. | ||
if (props.size.width === 0) { | ||
return null; | ||
} | ||
@@ -217,5 +224,13 @@ | ||
data: this.props.data | ||
}); // Setting the histogram y-axis domain scale | ||
}); | ||
let maxY; | ||
this.histogramChartYScale = (0, _d3Scale.scaleLinear)().domain([0, (0, _d3Array.max)(timeHistogramBars, bin => bin.yValue)]).range([this.state.histogramChartDimensions.heightForBars, 0]); | ||
if (this.props.data.length === 0) { | ||
maxY = 1; | ||
} else { | ||
maxY = (0, _d3Array.max)(timeHistogramBars, bin => bin.yValue); | ||
} // Setting the histogram y-axis domain scale | ||
this.histogramChartYScale = (0, _d3Scale.scaleLinear)().domain([0, maxY]).range([this.state.histogramChartDimensions.heightForBars, 0]); | ||
this.setState({ | ||
@@ -222,0 +237,0 @@ timeHistogramBars |
@@ -60,2 +60,19 @@ "use strict"; | ||
}); | ||
it("renders an empty chart if no data is passed", () => { | ||
jest.spyOn(Date, "now").mockImplementation(() => 1479427200000); | ||
const testWrapper = (0, _enzyme.mount)(_react.default.createElement(_Histogram.Histogram, { | ||
data: [], | ||
size: { | ||
width: 1000 | ||
}, | ||
height: 150, | ||
xAccessor: datapoint => datapoint.timestamp, | ||
xAxisFormatter: formatMinute, | ||
yAccessor: datapoint => datapoint.total, | ||
yAxisFormatter: histogramYAxisFormatter, | ||
tooltipBarCustomization: histogramTooltipBar, | ||
onIntervalChange: onIntervalChangeSpy | ||
})); | ||
expect(testWrapper).toMatchSnapshot(); | ||
}); | ||
}); | ||
@@ -62,0 +79,0 @@ describe("_updateBrushedDomainAndReRenderTheHistogramPlot", () => { |
@@ -217,2 +217,12 @@ "use strict"; | ||
}; | ||
if (props.data.length === 0) { | ||
return (0, _objectSpread2.default)({}, nextState, { | ||
brushDomain: { | ||
min: Date.now(), | ||
max: Date.now() | ||
} | ||
}); | ||
} | ||
const hasDataChanged = !isHistogramDataEqual(props.xAccessor, props.yAccessor, props.data, previousData); // If the new information received is different we need to verify if there is any update in the max and min | ||
@@ -219,0 +229,0 @@ // values for the brush domain. |
{ | ||
"name": "@feedzai/brushable-histogram", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A time histogram with a time brush that renders a summary of the events", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -137,2 +137,6 @@ import React, { PureComponent } from "react"; | ||
_updateBrush() { | ||
if (this.props.data.length === 0) { | ||
return; | ||
} | ||
d3Select(this.densityBrushRef.current) | ||
@@ -148,2 +152,6 @@ .call(this.brush); | ||
_moveBrush = (domain) => { | ||
if (this.props.data.length === 0) { | ||
return; | ||
} | ||
d3Select(this.densityBrushRef.current) | ||
@@ -150,0 +158,0 @@ .call(this.brush.move, domain); |
@@ -88,2 +88,9 @@ import React, { PureComponent } from "react"; | ||
// Sometimes the width will be zero, for example when swithing between storybook | ||
// stories. In those cases we don't want to do anything so that the histogram | ||
// does not enter into an invalid state. | ||
if (props.size.width === 0) { | ||
return null; | ||
} | ||
const nextState = calculateChartSizesAndDomain(props, state.data, state.brushDomain); | ||
@@ -257,3 +264,3 @@ | ||
if (dateToTimestamp(brushedDomain[0]) !== dateToTimestamp(this.state.brushDomain.min) | ||
|| dateToTimestamp(brushedDomain[1]) !== dateToTimestamp(this.state.brushDomain.max)){ | ||
|| dateToTimestamp(brushedDomain[1]) !== dateToTimestamp(this.state.brushDomain.max)) { | ||
this.setState({ | ||
@@ -304,5 +311,13 @@ brushDomain: { | ||
let maxY; | ||
if (this.props.data.length === 0) { | ||
maxY = 1; | ||
} else { | ||
maxY = d3Max(timeHistogramBars, (bin) => bin.yValue); | ||
} | ||
// Setting the histogram y-axis domain scale | ||
this.histogramChartYScale = scaleLinear() | ||
.domain([0, d3Max(timeHistogramBars, (bin) => bin.yValue)]) | ||
.domain([0, maxY]) | ||
.range([this.state.histogramChartDimensions.heightForBars, 0]); | ||
@@ -309,0 +324,0 @@ |
@@ -65,2 +65,20 @@ import React, { Fragment } from "react"; | ||
}); | ||
it("renders an empty chart if no data is passed", () => { | ||
jest.spyOn(Date, "now").mockImplementation(() => 1479427200000); | ||
const testWrapper = mount(<Histogram | ||
data={[]} | ||
size={{ width: 1000 }} | ||
height={150} | ||
xAccessor={(datapoint) => datapoint.timestamp} | ||
xAxisFormatter={formatMinute} | ||
yAccessor={(datapoint) => datapoint.total} | ||
yAxisFormatter={histogramYAxisFormatter} | ||
tooltipBarCustomization={histogramTooltipBar} | ||
onIntervalChange={onIntervalChangeSpy} | ||
/>); | ||
expect(testWrapper).toMatchSnapshot(); | ||
}); | ||
}); | ||
@@ -67,0 +85,0 @@ |
@@ -191,2 +191,12 @@ import { timeFormat } from "d3-time-format"; | ||
if (props.data.length === 0) { | ||
return { | ||
...nextState, | ||
brushDomain: { | ||
min: Date.now(), | ||
max: Date.now() | ||
} | ||
}; | ||
} | ||
const hasDataChanged = !isHistogramDataEqual(props.xAccessor, props.yAccessor, props.data, previousData); | ||
@@ -193,0 +203,0 @@ |
@@ -44,10 +44,11 @@ import React, { Fragment } from "react"; | ||
stories | ||
.add("Basic example", () => | ||
(<Histogram | ||
.add("Basic example", () => ( | ||
<Histogram | ||
data={sampleData} | ||
xAccessor={(datapoint) => datapoint.timestamp} | ||
yAccessor={(datapoint) => datapoint.total} | ||
/>)) | ||
.add("With a custom tooltip", () => | ||
(<Histogram | ||
/> | ||
)) | ||
.add("With a custom tooltip", () => ( | ||
<Histogram | ||
data={sampleData} | ||
@@ -57,5 +58,6 @@ xAccessor={(datapoint) => datapoint.timestamp} | ||
tooltipBarCustomization={histogramTooltipBar} | ||
/>)) | ||
.add("With a custom axis formatters", () => | ||
(<Histogram | ||
/> | ||
)) | ||
.add("With a custom axis formatters", () => ( | ||
<Histogram | ||
data={sampleData} | ||
@@ -66,5 +68,6 @@ xAccessor={(datapoint) => datapoint.timestamp} | ||
yAccessor={(datapoint) => datapoint.total} | ||
/>)) | ||
.add("Without the play button", () => | ||
(<Histogram | ||
/> | ||
)) | ||
.add("Without the play button", () => ( | ||
<Histogram | ||
data={sampleData} | ||
@@ -74,5 +77,6 @@ xAccessor={(datapoint) => datapoint.timestamp} | ||
renderPlayButton={false} | ||
/>)) | ||
.add("With a custom a height", () => | ||
(<Histogram | ||
/> | ||
)) | ||
.add("With a custom a height", () => ( | ||
<Histogram | ||
data={sampleData} | ||
@@ -83,2 +87,11 @@ xAccessor={(datapoint) => datapoint.timestamp} | ||
tooltipBarCustomization={histogramTooltipBar} | ||
/>)); | ||
/> | ||
)) | ||
.add("With no data", () => ( | ||
<Histogram | ||
data={[]} | ||
xAccessor={(datapoint) => datapoint.timestamp} | ||
yAccessor={(datapoint) => datapoint.total} | ||
tooltipBarCustomization={histogramTooltipBar} | ||
/> | ||
)); |
@@ -1,2 +0,2 @@ | ||
const NUMBER_OF_POINTS = 60000; | ||
const NUMBER_OF_POINTS = 1000; | ||
const startTimestamp = 1533164400000; | ||
@@ -3,0 +3,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
3521505
12064
1