当标题或名称包含 unicode 字符时 就会这样显示。 我想展示法语。 /image/cwpES.png
{
min: 0,
max:3000,
tickAmount: 6,
tickInterval: 600,
title: {
text: 'Température (°C)',
style: {
color: '#7CB5EC',
fontFamily: 'Trebuchet MS'
}
},
labels: {
format: '{value}',
style: {
color: Highcharts.getOptions().colors[0]
}
},
opposite: true
}
最佳答案
我解决了我的问题。我使用 notepad++ 重新编码该文件。默认 Eclipse 编码 UTF-8 无法正常工作。
关于javascript - Highchart 不显示 unicode 字符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32583359/