@Richkm As of now, you can only upload/download Azure dashboards in JSON format to programmatically create dashboards, or you can create a dashboard and publish/ share your dashboard(s).
As you are interested in exporting the chart in excel or pdf. I would suggest you to export the log analytics data to excel by following steps mentioned in this document and then creating a chart from it.
References for creating chart :
- https://support.microsoft.com/en-us/office/video-create-a-chart-4d95c6a5-42d2-4cfc-aede-0ebf01d409a8
- https://support.microsoft.com/en-us/office/create-a-chart-from-start-to-finish-0baf399e-dd61-4e18-8a73-b3fd5d5680c2
I also would recommend you to navigate here and share your feedback or suggestions directly with the responsible Azure feature team and clicking the vote button of your suggestion to raise visibility and priority on it.