I actually just had an 'aha' moment on how to achieve this. In earlier versions of our application written in PB6.5, PB12.5, PB2019 R2 we have the ability to display embedded web pages. So all we need to do is use a standalone PB 2019 R3 app to read a datawindow export (PBR) file and then generate the chart html for the web page which can then be displayed in any of our applications.
We were planning on using a text object inside the datawindow to control the graph title, type, columns to be used etc. so we just need to pass the datawindow into the app and get a file with a web page back!
Mark