@fluid-topics/ft-chart 2.1.18 → 2.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-chart.js +1 -1
- package/build/ft-chart.min.js +6 -6
- package/package.json +3 -3
package/build/ft-chart.js
CHANGED
|
@@ -171,7 +171,7 @@ export class FtChart extends FtLitElement {
|
|
|
171
171
|
return series;
|
|
172
172
|
}
|
|
173
173
|
getData(valueIndex) {
|
|
174
|
-
return this.data.map(
|
|
174
|
+
return this.data.map(v => {
|
|
175
175
|
if (this.isThisPeriod(moment.unix(v[0]), this.period)) {
|
|
176
176
|
return { value: [v[0], v[valueIndex + 1]], itemStyle: { opacity: 0.5 } };
|
|
177
177
|
}
|