@vizabi/linechart
Advanced tools
Comparing version 3.8.2 to 3.8.3
@@ -1,2 +0,2 @@ | ||
// https://github.com/vizabi/linechart#readme v3.8.2 build 1654178908099 Copyright 2022 Gapminder Foundation and contributors | ||
// https://github.com/vizabi/linechart#readme v3.8.3 build 1665514468170 Copyright 2022 Gapminder Foundation and contributors | ||
(function (global, factory) { | ||
@@ -6,3 +6,3 @@ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('VizabiSharedComponents'), require('mobx')) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.LineChart = factory(global.VizabiSharedComponents, global.mobx)); | ||
}(this, (function (VizabiSharedComponents, mobx) { 'use strict'; | ||
})(this, (function (VizabiSharedComponents, mobx) { 'use strict'; | ||
@@ -594,3 +594,3 @@ const {ICON_QUESTION} = VizabiSharedComponents.Icons; | ||
const xy = d.values.slice(0, (_this.stepIndex - d.shiftIndex) <= 0 ? 0 : _this.stepIndex - d.shiftIndex) | ||
const xy = d.values.slice(0, Math.ceil((_this.stepIndex - d.shiftIndex) <= 0 ? 0 : _this.stepIndex - d.shiftIndex)) | ||
.map(point => [point[_this._alias("x")], point[_this._alias("y")]]) | ||
@@ -1218,3 +1218,3 @@ .filter(d => d[1] || d[1] === 0); | ||
const markerName = config.options.markerName || "line"; | ||
const markerName = config.options?.markerNames?.line || "line"; | ||
config.Vizabi.utils.applyDefaults(config.model.markers[markerName].config, LineChart.DEFAULT_CORE(markerName)); | ||
@@ -1369,7 +1369,7 @@ | ||
LineChart.versionInfo = { version: "3.8.2", build: 1654178908099, package: {"homepage":"https://github.com/vizabi/linechart#readme","name":"@vizabi/linechart","description":"Vizabi line chart"}, sharedComponents: VizabiSharedComponents.versionInfo}; | ||
LineChart.versionInfo = { version: "3.8.3", build: 1665514468170, package: {"homepage":"https://github.com/vizabi/linechart#readme","name":"@vizabi/linechart","description":"Vizabi line chart"}, sharedComponents: VizabiSharedComponents.versionInfo}; | ||
return LineChart; | ||
}))); | ||
})); | ||
//# sourceMappingURL=linechart.js.map |
{ | ||
"name": "@vizabi/linechart", | ||
"version": "3.8.2", | ||
"version": "3.8.3", | ||
"description": "Vizabi line chart", | ||
@@ -56,4 +56,4 @@ "scripts": { | ||
"css.escape": "^1.5.1", | ||
"vizabi-tool-bundler": "^1.2.2" | ||
"vizabi-tool-bundler": "^1.2.3" | ||
} | ||
} |
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
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
282457