@visactor/vchart
Version:
charts lib based @visactor/VGrammar
48 lines (47 loc) • 1.07 kB
JavaScript
export const 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