# Downloading charts from node red ui into pdf

**URL:** https://discourse.nodered.org/t/downloading-charts-from-node-red-ui-into-pdf/90275
**Category:** General
**Created:** [19 August 2024 19:29 UTC](https://discourse.nodered.org/t/downloading-charts-from-node-red-ui-into-pdf/90275 "2024-08-19T19:29:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Desmond-Zeh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/desmond-zeh/32/92216_2.png) [@Desmond-Zeh](https://discourse.nodered.org/u/Desmond-Zeh)
#### Post date: [19 August 2024 19:29 UTC](https://discourse.nodered.org/t/downloading-charts-from-node-red-ui-into-pdf/90275/1 "2024-08-19T19:29:43Z")

</div>

Hello!  
Please I have a mini scada that I’ve developed for my company using node red. Data are read from generators control modules and stored directly into a csv file for further processing. The csv files are then uploaded to the node red ui so they can be graphed out to best determine the daily maximum demand. Until now, am unable to download any of the daily profiles.  
Please, I need help on this… Any guide, doc or video will be highly acknowledged.  
Thanks!

---

<div class="post-metadata">

### Author: ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)
#### Post date: [20 August 2024 01:12 UTC](https://discourse.nodered.org/t/downloading-charts-from-node-red-ui-into-pdf/90275/2 "2024-08-20T01:12:48Z")

</div>

> [@Display a chart in PDF](https://discourse.nodered.org/t/display-a-chart-in-pdf/20040/14):
>
> I prepared a working example: There is still an error: "SyntaxError: Unexpected token S in JSON at position 0", but the PDF is generating correctly. [{"id":"e26c21c5.1443c","type":"function","z":"783f535.d2680ac","name":"contents","func":"//globals\nvar CompanyName = \"CompanyName\";\nvar CompanyLogoURL = \"https://dynamic.brandcrowd.com/asset/logo/522494d1-50ee-4316-bbc9-58b1f90bab5e/logo?v=4\";\n\n//flow variables\nvar startdate = 1578485832986; //date in…

---

<div class="post-metadata">

### Author: ![Kundepuu](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Kundepuu](https://discourse.nodered.org/u/Kundepuu)
#### Post date: [20 August 2024 12:30 UTC](https://discourse.nodered.org/t/downloading-charts-from-node-red-ui-into-pdf/90275/3 "2024-08-20T12:30:16Z")

</div>

Hi,  
I use Amcharts and it have export menu.  
chart

 ![amCharts](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/9/695f17da00a212201192bddc528cba6f435c886d.png)

exported chart pdf  
[data.pdf](https://discourse.nodered.org/uploads/short-url/ia0hTv42maAmCqICGc3ofdWr2T6.pdf) (66.6 KB)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 November 2024 12:30 UTC](https://discourse.nodered.org/t/downloading-charts-from-node-red-ui-into-pdf/90275/4 "2024-11-18T12:30:57Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
