@visactor/vchart
Version:
charts lib based @visactor/VGrammar
52 lines (50 loc) • 1.17 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.treemap = void 0, exports.treemap = {
gapWidth: 1,
nodePadding: [ 5 ],
nonLeaf: {
visible: !1,
style: {
fillOpacity: .5
}
},
label: {
style: {
fill: "white",
textBaseline: "middle",
textAlign: "center",
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
}
}
},
nonLeafLabel: {
padding: 24,
style: {
fill: "black",
stroke: {
type: "palette",
key: "backgroundColor"
},
lineWidth: 2,
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
textBaseline: "middle",
textAlign: "center"
}
}
};
//# sourceMappingURL=treemap.js.map