# Report chart scripting

**URL:** <https://forum.inductiveautomation.com/t/report-chart-scripting/36524>\
**Category:** Ignition\
**Created:** [July 9, 2020, 4:37am UTC](https://forum.inductiveautomation.com/t/report-chart-scripting/36524 "2020-07-09T04:37:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brindashah484](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@brindashah484](https://forum.inductiveautomation.com/u/brindashah484)\
**Post date:** [July 9, 2020, 4:37am UTC](https://forum.inductiveautomation.com/t/report-chart-scripting/36524/1 "2020-07-09T04:37:45Z")

</div>

Hi,  
I am new to report. I was using a Vision client tag as type dataset in creating chart. Now i want to use that chart dataset in one of the report creation. Can you guide me how i can directly assign?  
I have checked for the scripting option. But i am not sure the syntax or how to assign the dataset over there.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 9, 2020, 12:37pm UTC](https://forum.inductiveautomation.com/t/report-chart-scripting/36524/2 "2020-07-09T12:37:39Z")

</div>

The report generator runs in the gateway, so it has no access to Vision Client Tags, as those are purely Client scope. You’ll have to pass the dataset through a report parameter, bound via the Report Viewer to the client tag. Or read the client tag in a script to pass it to the system.report.\* functions.

---

<div class="post-metadata">

**Author:** ![brindashah484](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@brindashah484](https://forum.inductiveautomation.com/u/brindashah484)\
**Post date:** [July 11, 2020, 8:53am UTC](https://forum.inductiveautomation.com/t/report-chart-scripting/36524/3 "2020-07-11T08:53:26Z")

</div>

Thank you ptrumel,

1. I have checked system.report.\* functions. It is not working in my system.
2. I have linked in report Viewer. Thank you for your suggestion. It helped me to create a chart. But it is not able to work in my dynamic dataset (dynamic rows and dynamic columns) to table. My report is having chart and table in a page. Which I am not sure how to do.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 11, 2020, 1:47pm UTC](https://forum.inductiveautomation.com/t/report-chart-scripting/36524/4 "2020-07-11T13:47:11Z")

</div>

The report system doesn’t support a dynamic number columns in tables, that I’ve seen. @KathyApplebaum?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [July 13, 2020, 2:02pm UTC](https://forum.inductiveautomation.com/t/report-chart-scripting/36524/5 "2020-07-13T14:02:45Z")

</div>

That matches my recollection.
