MCPcopy Create free account
hub / github.com/microsoft/SandDance / getOrientItem

Function getOrientItem

docs/app/js/sanddance-app.js:8718–8721  ·  view source on GitHub ↗
(group1)

Source from the content-addressed store, hash-verified

8716var _defaults = require("./defaults");
8717var _interfaces = require("./marks/interfaces");
8718function getOrientItem(group1) {
8719 if (group1.orient) return group1;
8720 return group1.datum;
8721}
8722function convertGroupRole(group2, options) {
8723 if (group2.mark.role === "legend") return (0, _interfaces.GroupType).legend;
8724 if (group2.mark.role === "axis") {

Callers 1

convertGroupRoleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected