minRange (yAxis properties)

확대할 수 있는 최소 범위(축 값 기준)를 설정합니다.
데이터 값의 변화가 매우 작을 때 축이 지나치게 확대되는 것을 막는 데도 사용합니다.

Info

name type required(default) description
minRange number 선택(undefined) 확대할 수 있는 최소 범위(축 값 기준)를 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "line"
  },
  yAxis: {
    minRange: 50  // y축 범위를 최소 50으로 유지
  },
  series: [{
    name: "온도",
    data: [20.1, 20.3, 20.2, 20.4]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0