在导出时添加文本似乎忽略了SPAN样式

时间:2014-06-06 15:10:28

标签: javascript jquery highcharts

导出后,我们会在图表中添加一些额外的文字title。但是,这有效,文本格式不符合我的想法。选择框中的title代码:

title: { text: '<span style="text-align:center; font-weight:bold;">Labor Force, Employment and Unemployment for Florida in Multiple Time Periods</span><br /><br /><span style="text-align:center; font-weight:bold;font-size:9pt">Labor Force Area Distribution Graph</span><br /><br /><span style="text-align:left; font-size:10px">The graph below shows the Counties in Florida with the highest monthly not seasonally adjusted unemployment rate in June, 2013.</span>' }

相关文字为<span style="text-align:left; font-size:10px">The graph below shows the Counties in Florida with the highest monthly not seasonally adjusted unemployment rate in June, 2013.</span>。这不是左对齐的,当它转到新行时它也有一个额外的大换行符。

这是一个实时example

0 个答案:

没有答案