
echarts
start_f_scratch
不知道写些什么
展开
-
echarts pie legend设置 (自定义文本)
legend: { orient: "vartical", x: "left", top: "center", left: "50%", bottom: "0%", itemWidth: 8, //图形宽度。 itemHeight: 8, //图形高度 itemGap:...原创 2019-11-27 15:26:29 · 3880 阅读 · 0 评论 -
echarts pie 饼图 border宽度
效果图:代码://饼图 initPieECharts() { let _this = this; let charts: any = _this.$echarts.init(document.getElementById("mainPie")); charts.setOption({ color: ["#b6e5ff", "#b2d1f3", ...原创 2019-11-27 15:18:53 · 3478 阅读 · 0 评论 -
Echarts y轴高度设置(宽度铺满整个父级高度)
// 折线图 initLineEcharts() { let _this = this; let charts: any = _this.$echarts.init(document.getElementById("mainLine")); charts.setOption({ grid: { x: "12%",//x 偏移量 ...原创 2019-11-27 15:11:10 · 20154 阅读 · 1 评论