pointFormat (tooltip properties)

툴팁의 포인트 값 출력 포맷을 설정합니다.

Info

name type required description
pointFormat object 선택 포인트 값 출력 포맷

Enum

value description
{series.name} 시리즈명
{series.color} 시리즈 색상
{point.x} x축 값
{point.y} y축 값

Example

myChart.setOptions({
  chart: {
    type: "column"
  },
  tooltip: {
    headerFormat: "{series.name}<br/>",
    pointFormat: "{point.x}, {point.y}"     // 툴팁의 포인트 값 출력 포맷
  },
  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