MCPcopy Create free account
hub / github.com/alignoth/alignoth / Js

Function Js

resources/vega-lite.min.js:4218–4335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4216 "view",
4217 ];
4218 function Js() {
4219 let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
4220 const { color: n, font: i, fontSize: r, selection: o, ...a } = e,
4221 s = t.mergeConfig(
4222 {},
4223 l(Vs),
4224 i
4225 ? (function (e) {
4226 return {
4227 text: { font: e },
4228 style: {
4229 "guide-label": { font: e },
4230 "guide-title": { font: e },
4231 "group-title": { font: e },
4232 "group-subtitle": { font: e },
4233 },
4234 };
4235 })(i)
4236 : {},
4237 n
4238 ? (function () {
4239 let e =
4240 arguments.length > 0 && void 0 !== arguments[0]
4241 ? arguments[0]
4242 : {};
4243 return {
4244 signals: [
4245 {
4246 name: "color",
4247 value: t.isObject(e) ? { ...Ys, ...e } : Ys,
4248 },
4249 ],
4250 mark: { color: { signal: "color.blue" } },
4251 rule: { color: { signal: "color.gray0" } },
4252 text: { color: { signal: "color.gray0" } },
4253 style: {
4254 "guide-label": { fill: { signal: "color.gray0" } },
4255 "guide-title": { fill: { signal: "color.gray0" } },
4256 "group-title": { fill: { signal: "color.gray0" } },
4257 "group-subtitle": { fill: { signal: "color.gray0" } },
4258 cell: { stroke: { signal: "color.gray8" } },
4259 },
4260 axis: {
4261 domainColor: { signal: "color.gray13" },
4262 gridColor: { signal: "color.gray8" },
4263 tickColor: { signal: "color.gray13" },
4264 },
4265 range: {
4266 category: [
4267 { signal: "color.blue" },
4268 { signal: "color.orange" },
4269 { signal: "color.red" },
4270 { signal: "color.teal" },
4271 { signal: "color.green" },
4272 { signal: "color.yellow" },
4273 { signal: "color.purple" },
4274 { signal: "color.pink" },
4275 { signal: "color.brown" },

Callers 2

KlFunction · 0.70
vega-lite.min.jsFile · 0.70

Calls 6

CnFunction · 0.85
bnFunction · 0.85
XsFunction · 0.85
DFunction · 0.85
lFunction · 0.70
fFunction · 0.70

Tested by

no test coverage detected