@visactor/vchart
Version:
charts lib based @visactor/VGrammar
120 lines (118 loc) • 3.03 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.discreteLegend = void 0, exports.discreteLegend = {
orient: "bottom",
position: "middle",
padding: [ 16, 24 ],
title: {
visible: !1,
padding: 0,
textStyle: {
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
fill: {
type: "palette",
key: "primaryFontColor"
},
fontWeight: "normal"
},
space: 12
},
pager: {
textStyle: {
fill: {
type: "palette",
key: "discreteLegendPagerTextColor"
}
},
handler: {
style: {
fill: {
type: "palette",
key: "discreteLegendPagerHandlerColor"
}
},
state: {
disable: {
fill: {
type: "palette",
key: "discreteLegendPagerHandlerDisableColor"
}
}
}
}
},
item: {
visible: !0,
spaceCol: 10,
spaceRow: 6,
padding: 2,
background: {
state: {
selectedHover: {
fill: {
type: "palette",
key: "hoverBackgroundColor"
}
},
unSelectedHover: {
fill: {
type: "palette",
key: "hoverBackgroundColor"
}
}
}
},
shape: {
space: 6,
style: {
lineWidth: 0,
fillOpacity: 1,
opacity: 1
},
state: {
unSelected: {
fillOpacity: .2,
opacity: 1
}
}
},
label: {
space: 6,
style: {
fill: {
type: "palette",
key: "secondaryFontColor",
default: "#89909d"
},
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
opacity: 1
},
state: {
unSelected: {
fill: {
type: "palette",
key: "disableFontColor"
},
opacity: 1
}
}
}
},
allowAllCanceled: !1
};
//# sourceMappingURL=discrete-legend.js.map