@visactor/vchart
Version:
charts lib based @visactor/VGrammar
74 lines (72 loc) • 1.44 kB
JavaScript
export const markByType = {
text: {
style: {
fontSize: {
type: "token",
key: "l4FontSize"
},
fontWeight: "normal",
fillOpacity: 1
}
}
};
export const markByName = {
label: {
style: {
fontSize: {
type: "token",
key: "l4FontSize"
},
fontWeight: "normal",
fillOpacity: 1,
lineJoin: "bevel"
}
},
area: {
style: {
fillOpacity: .2
}
},
line: {
style: {
lineWidth: 2,
lineCap: "round",
lineJoin: "round"
}
},
point: {
style: {
size: 8,
stroke: {
type: "palette",
key: "backgroundColor"
},
lineWidth: 1,
fillOpacity: 1
}
},
word: {
style: {
fontWeight: null,
fontSize: null
}
},
fillingWord: {
style: {
fontWeight: null,
fontSize: null
}
},
barBackground: {
visible: !1,
style: {
fill: {
type: "palette",
key: "primaryFontColor",
a: .06
},
stroke: "transparent"
}
}
};
//# sourceMappingURL=mark.js.map