admin管理员组文章数量:1431530
I am using highcharts-export-server npm module in my project. By using node services I am tryign to export the image using highcharts-export-server node library. Things are working fine the only thing I am getting is the error on export image about the sorting of the data. See the attached screen shot. For my data, the sorting is not possible for now. Is there any way I can get rid of (or remove) this error from the exported image. Or can the image get exported without this error?
I am using highcharts-export-server npm module in my project. By using node services I am tryign to export the image using highcharts-export-server node library. Things are working fine the only thing I am getting is the error on export image about the sorting of the data. See the attached screen shot. For my data, the sorting is not possible for now. Is there any way I can get rid of (or remove) this error from the exported image. Or can the image get exported without this error?
Share Improve this question asked Nov 19, 2024 at 8:33 anki145anki145 534 bronze badges2 Answers
Reset to default 0The data sorting is necessary to remove the error. You can easily do that via the series.dataSorting
API option.
dataSorting: {
enabled: true,
sortKey: 'x.value',
},
Demo: https://jsfiddle/BlackLabel/7gx4n2v0/
API Reference: https://api.highcharts/highstock/series.line.dataSorting
I got the answere, in any case if you do not want to sort the data what you are providing to the highchart to process, you should set the displayErrors flag to false (By default it's true). Chart {. . . ., displayErrors: false }
本文标签: highchartsexportserver dispaly 15 error (Sorting) on exported imageStack Overflow
版权声明:本文标题:highcharts-export-server dispaly #15 error (Sorting) on exported image - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745574297a2664234.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论