[英]HighCharts title styles i.e textDecoration property not applying when we export the chart using canvg
我正在研究 Highcharts 示例,我已將一些 styles 應用於 title 屬性,它在瀏覽器中正確顯示,但是當我們嘗試使用 canvg 導出圖表時,一些 styles 不應用text- decor 樣式。
title: {
text: 'Client-Side Download Example',
style: {
color: '#FF00FF',
fontWeight: 'bold',
textDecoration: 'line-through'
},
useHTML: true
},
這是了解問題http://jsfiddle.net/sairampotta/cLrwvtd1/2/的示例鏈接
請幫我解決問題。
您應該為它使用 Highcharts 導出模塊,它支持此功能。
document.getElementById('btn').addEventListener('click', function() {
chart.exportChart();
})
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.