2013-03-04 1 views
4

하이 차트 2.3.5를 사용했습니다. "chartOptions"아래의 "exporting"개체에서 내보낼 때 차트의 배경색과 같은 몇 가지 사항을 변경할 수 있지만 dataLabels을 활성화하거나 마커 크기를 변경할 수 없었습니다.하이 차트 - 데이터 라벨 옵션 내보내기, 설정

다음은 작동하는 방식과 작동하지 않는 방식의 예입니다.이 경우 내보낼 때 작동하는 배경색을 변경하고 데이터 레이블이 나타나지 않는지 확인하십시오 ( ). ..

exporting : { 
     chartOptions : { 
       chart: { backgroundColor: '#ff0000'}, //this works 
       plotOptions: { 
        pie : { 
           dataLabels: {enabled: true} //this one doesn't work 
          } 
       }       
}... 

오전 내가 뭔가를 분명 실종? J

+0

신고 : https://github.com/highslide-software/highcharts.com/issues/1562 감사합니다. –

답변

0
$('#container1').highcharts({ 
     exporting: { 
      chartOptions: { // specific options for the exported image 
       plotOptions: { 
        series: { 
         dataLabels: { 
          enabled: true 
         } 
        } 
       } 
      }, 
      scale: 3, 
      fallbackToExportServer: false 
     },  
관련 문제