@vizabi/linechart
Advanced tools
Comparing version 3.7.2 to 3.7.3
@@ -1,2 +0,2 @@ | ||
// https://github.com/vizabi/linechart#readme v3.7.2 build 1630146971087 Copyright 2021 Gapminder Foundation and contributors | ||
// https://github.com/vizabi/linechart#readme v3.7.3 build 1631014687469 Copyright 2021 Gapminder Foundation and contributors | ||
(function (global, factory) { | ||
@@ -1216,5 +1216,6 @@ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('VizabiSharedComponents'), require('mobx')) : | ||
config.Vizabi.utils.applyDefaults(config.model.markers.line.config, LineChart.DEFAULT_CORE); | ||
const markerName = config.options.markerName || "line"; | ||
config.Vizabi.utils.applyDefaults(config.model.markers[markerName].config, LineChart.DEFAULT_CORE(markerName)); | ||
const marker = config.model.markers.line; | ||
const marker = config.model.markers[markerName]; | ||
@@ -1298,3 +1299,3 @@ config.name = "linechart"; | ||
}; | ||
LineChart.DEFAULT_CORE = { | ||
LineChart.DEFAULT_CORE = (markerName) => ({ | ||
requiredEncodings: ["x", "y"], | ||
@@ -1316,3 +1317,3 @@ encoding: { | ||
concept: { | ||
ref: "markers.line.encoding.frame.data.concept" | ||
ref: `markers.${markerName}.encoding.frame.data.concept` | ||
} | ||
@@ -1351,5 +1352,5 @@ }, | ||
} | ||
}; | ||
}); | ||
LineChart.versionInfo = { version: "3.7.2", build: 1630146971087, package: {"homepage":"https://github.com/vizabi/linechart#readme","name":"@vizabi/linechart","description":"Vizabi line chart"}, sharedComponents: VizabiSharedComponents.versionInfo}; | ||
LineChart.versionInfo = { version: "3.7.3", build: 1631014687469, package: {"homepage":"https://github.com/vizabi/linechart#readme","name":"@vizabi/linechart","description":"Vizabi line chart"}, sharedComponents: VizabiSharedComponents.versionInfo}; | ||
@@ -1356,0 +1357,0 @@ return LineChart; |
{ | ||
"name": "@vizabi/linechart", | ||
"version": "3.7.2", | ||
"version": "3.7.3", | ||
"description": "Vizabi line chart", | ||
@@ -56,4 +56,4 @@ "scripts": { | ||
"css.escape": "^1.5.1", | ||
"vizabi-tool-bundler": "^1.2.1" | ||
"vizabi-tool-bundler": "^1.2.2" | ||
} | ||
} |
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
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
259182
1386