backgroundColor (legend properties)

범례의 배경색을 설정합니다.

Info

name type required (default) description
backgroundColor color 선택 배경색

Example

myChart.setOptions({
  chart: {
    type: "column"
  },
  legend: {
    backgroundColor: "#AFEEEE" // 배경색 설정
  },
  series: [{
    name: "서울",
    data : [60,40,20,80]
  },{
    name: "인천",
    data : [30,50,90,70]
  },{
    name: "부산",
    data : [40,70,30,60]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0