threshold (plotOptions properties)

막대(column, bar)나 영역(area) 차트에서 그래프가 시작되는 기준값을 설정합니다.
기준값보다 큰 값은 위로, 작은 값은 아래로 그려집니다. negativeColor는 이 기준값보다 작은 포인트에 적용됩니다.

Info

name type required(default) description
threshold number 선택(0) 막대(column, bar)나 영역(area) 차트에서 그래프가 시작되는 기준값을 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "column"
  },
  plotOptions: {
    series: {
      threshold: 50,             // 50을 기준으로 위/아래로 표시
      negativeColor: "#E57373"   // 50보다 작은 막대 색상
    }
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0