Browse Source

fix annotations

pull/1/head
vargburz 2 years ago
parent
commit
936bdb62f5
  1. 2
      package.json
  2. 2
      src/index.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "@chartwerk/bar-pod",
"version": "0.6.1",
"version": "0.6.2",
"description": "Chartwerk bar pod",
"main": "dist/index.js",
"scripts": {

2
src/index.ts

@ -81,7 +81,7 @@ export class ChartwerkBarPod extends ChartwerkPod<BarSerie, BarOptions> {
return;
}
// find all series for single matchedKey
const series = _.filter(this.series, serie => _.includes(d.serieTarget, serie.target));
const series = _.filter(this.series.visibleSeries, serie => _.includes(d.serieTarget, serie.target));
const matchedKeys = _.map(series, serie => serie.matchedKey); // here matchedKeys should be equal
const key = matchedKeys[0];

Loading…
Cancel
Save