headerShape (tooltip properties)

split 툴팁에서 x값(머리글) 상자의 모양을 설정합니다.

Info

name type required(default) description
headerShape string 선택(callout) split 툴팁에서 x값(머리글) 상자의 모양을 설정합니다.

Enum

value description
callout 축을 가리키는 꼬리가 있는 모양
rect 사각형

Example

myChart.setOptions({
  chart: {
    type: "line"
  },
  tooltip: {
    split: true,
    headerShape: "rect"  // 머리글 상자를 사각형으로
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }, {
    name: "인천",
    data: [30, 50, 90, 70]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0