php - Highcharts export (PhantomJS) to server does not show words -
i have tried export picture of pie chart server, can't see labels or titles. have tested options.json file in server @ http://export.highcharts.com/demo , worked fine. options contant:
{ series: [{ type: 'pie', data: [ ['one', 80.0], ['two', 10], ['three', 10], ] }], title: { text: 'the title', style: { color: '#333' } } }
and how output looks:
i'm not sure, looks have install specific fonts on server. export- server cannot find them. linux, place fonts in /usr/share/fonts , run commandline:
$prompt> fc-cache -fv
to refresh font cache on system.
Comments
Post a Comment