|
@@ -54,7 +54,7 @@ export function advertisementSpendInit(ele, list) {
|
|
|
},
|
|
|
label: {
|
|
|
// 柱图头部显示值
|
|
|
- show: false,
|
|
|
+ show: true,
|
|
|
position: "top",
|
|
|
color: "#333",
|
|
|
fontSize: "12px",
|
|
@@ -72,27 +72,6 @@ export function advertisementSpendInit(ele, list) {
|
|
|
},
|
|
|
],
|
|
|
});
|
|
|
- barEcharts.on("brushSelected", function (params) {
|
|
|
- var brushed = [];
|
|
|
- var brushComponent = params.batch[0];
|
|
|
- for (var sIdx = 0; sIdx < brushComponent.selected.length; sIdx++) {
|
|
|
- var rawIndices = brushComponent.selected[sIdx].dataIndex;
|
|
|
- brushed.push("[Series " + sIdx + "] " + rawIndices.join(", "));
|
|
|
- }
|
|
|
- barEcharts.setOption({
|
|
|
- title: {
|
|
|
- backgroundColor: "#333",
|
|
|
- text: "SELECTED DATA INDICES: \n" + brushed.join("\n"),
|
|
|
- bottom: 0,
|
|
|
- right: "10%",
|
|
|
- width: 100,
|
|
|
- textStyle: {
|
|
|
- fontSize: 12,
|
|
|
- color: "#fff",
|
|
|
- },
|
|
|
- },
|
|
|
- });
|
|
|
- });
|
|
|
}
|
|
|
|
|
|
export function advertisementRingRatioInit(ele, list) {
|