vizabi-barrankchart
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -380,3 +380,3 @@ // https://github.com/kuguarpwnz/vizabi-tool-bundler#readme v1.0.0 Copyright 2021 undefined | ||
else | ||
label = Object.values(d.label).join(", "); | ||
label = Object.entries(d.label).filter(entry => entry[0] != this.MDL.frame.data.concept).map(entry => entry[1]).join(", "); | ||
@@ -738,3 +738,4 @@ if (label.length >= longestLabelLength) label = label.substring(0, longestLabelLength - 1) + "…"; | ||
constructor(config){ | ||
const marker = config.splash(config.model.markers.bar); | ||
Vizabi.utils.applyDefaults(config.model.markers.bar.config, BarRankChart.DEFAULT_CORE); | ||
const marker = config.model.markers.bar.encoding.frame.splash.marker; | ||
@@ -814,2 +815,34 @@ config.name = "barrankchart"; | ||
BarRankChart.DEFAULT_CORE = { | ||
requiredEncodings: ["x"], | ||
encoding: { | ||
selected: { | ||
modelType: "selection" | ||
}, | ||
highlighted: { | ||
modelType: "selection" | ||
}, | ||
x: { | ||
scale: { | ||
allowedTypes: ["linear", "log", "genericLog", "pow"] | ||
} | ||
}, | ||
color: { | ||
scale: { | ||
modelType: "color" | ||
} | ||
}, | ||
label: { | ||
data: { | ||
modelType: "entityPropertyDataConfig" | ||
} | ||
}, | ||
frame: { | ||
modelType: "frame", | ||
} | ||
} | ||
}; | ||
BarRankChart.versionInfo = { version: "1.0.0", build: 1618341355608 }; | ||
return BarRankChart; | ||
@@ -816,0 +849,0 @@ |
{ | ||
"name": "vizabi-barrankchart", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Bar rank chart tool for Vizabi 📊", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
92917
932