softMax (xAxis properties)

축 최대값의 하한을 설정합니다.
데이터가 이 값보다 작으면 축은 이 값까지 표시되고, 데이터가 더 크면 데이터에 맞게 늘어납니다.

Info

name type required(default) description
softMax number 선택(undefined) 축 최대값의 하한을 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "scatter"
  },
  xAxis: {
    softMax: 100  // 데이터가 작아도 100까지 표시
  },
  series: [{
    name: "측정값",
    data: [[10, 60], [20, 40], [30, 20], [40, 80]]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0