Open ct369uk opened 9 months ago
✅ Successfully linked to Azure Boards work item(s):
Further to my above issue, to replicate take the following custom visualization:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="/js/reveal.bridge.js"></script>
</head>
<body>
<h1 id="id-title">Before Custom Data</h1>
<script type="text/javascript">
window.revealBridgeListener = {
dataReady: (data) => {
$("#id-title").text("After Custom Data!");
}
};
window.revealBridge.notifyExtensionIsReady();
</script>
</body>
</html>
If I create a dashboard with the above as a custom visualization, then when viewing the dashboard, the <h1>
tag will display "After Custom Data!", because the dataReady function is called from the reveal Bridge. However, when using the Export to PDF option, the dataReady function isn't called (I'm assuming that the Export doesn't allow for custom visualizations?).
Hi @ct369uk , We'll include this extra information in our internal bug. Thank you for sharing it.
@ct369uk I just wanted to clarify a point on this issue. You are correct, export does not support custom visualizations. This is something that we have been trying to figure out how to make work for a long time now.
@brianlagunas - Thanks for the clarification. Is the source code for the export feature available in Github to view?
No, the Reveal Source Code is not available publicly.
@brianlagunas I didn't think so :slightly_smiling_face: This is a bit of a problem for us. I have one client who is crying out for a PDF export feature, and I thought we had found it in Reveal. Hopefully this gets fixed soon. Thanks again :slightly_smiling_face:
We'll try our best, but I did want to set expectations for how complex this is to solve. I'll update this issue when there is an update. Thanks for your patience and understanding.
@brianlagunas - Hi Brian. Thanks, and I appreciate that the issue will take time.
I've just discovered that the built-in Pie Chart and Donut Charts do not appear in the PDF export dialog, not do they appear in the generated PDF. I don't know if I should create this as a separate thread, although it's related to exporting to PDF.
@ct369uk We already know about this one. We caught it internally and are tracking it with AB#28648
✅ Successfully linked to Azure Boards work item(s):
SDK Version
1.6.0
Client Framework
HTML/JavaScript
Server Platform
None
Operating System
Windows
Description
When using a Google Chart as a custom visualization within a dashboard, performing an Export to PDF does not output the chart contents - the page for the chart is blank. The Google Chart used is a Sankey diagram.