Hi, I am using Highcharts Gantt in my ReactJs project, we need to implement offline pdf exporting in this. Since we have html content in datalabel, we have to use allowHTML as true. When we are using allowHTML true and fallbackToExportServer: false getting an error
Error: Highcharts error #28
This is my code for exporting.
exporting: {
fallbackToExportServer:false,
menuItemDefinitions:{
downloadPNG:{
text:"Export as PNG"
},
downloadSVG:{
text:"Export as SVG"
},
downloadPDF:{
text:"Export as PDF",
},
downloadJPEG:{
text:"Export as JPEG"
}
},
allowHTML:true,
buttons: {
contextButton: {
menuItems: ['downloadPNG', 'downloadSVG', 'downloadPDF','downloadJPEG'],
symbol: 'download',
symbolStroke: "white",
theme: {
fill:"#2D354D",
states: {
hover: {
fill: "#2D354D"
},
select:{
fill:"#2D354D"
}
}
},
}
}
},
Do we have a solution for this or do we have any other way to export chart offline as pdf. Thank you in advance