echarts 修改legend圖例的顏色

legend的顏色是在option裏面直接定義的color數組,有幾個圖例就在color裏面寫幾個顏色值。 var option = { color:'#657DE9', tooltip: { trigger: "axis", axisPointer: { // 座標軸指示器,座標軸觸發有效 type: "shadow" // 默認爲
相關文章
相關標籤/搜索