# Timeseries Chart doesn't work as Bar Chart as normal Bar Chart

**URL:** <https://forum.inductiveautomation.com/t/timeseries-chart-doesnt-work-as-bar-chart-as-normal-bar-chart/38684>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 15, 2020, 5:31am UTC](https://forum.inductiveautomation.com/t/timeseries-chart-doesnt-work-as-bar-chart-as-normal-bar-chart/38684 "2020-09-15T05:31:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 18, 2020, 1:41pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-doesnt-work-as-bar-chart-as-normal-bar-chart/38684/4 "2020-09-18T13:41:02Z")

</div>

Example attached, with references to this thread.

> [@Bar chart (report) static line](http://forum.inductiveautomation.com/t/bar-chart-report-static-line/18445/14):
>
> This is working well in my dashboards. On the reports, which is where I first got it working, the reference line shows up in the preview in the report module, but not in the PDF when the report is emailed. Everything else renders in the PDF as expected. Any ideas what’s preventing the line from rendering in the PDF? The code is: from java.awt import BasicStroke from org.jfree.chart.plot import ValueMarker goal = 0.5 s = BasicStroke( 4.0, #width BasicStroke.CAP\_ROUND, #cap BasicStrok…

Sample uses a static dataset as the raw data, a script iterates through the dataset to (in this example) extract the hour/minute. The chart script allows the us to add static lines.

[report\_barchart\_example 2020-09-18.zip](https://forum.inductiveautomation.com/uploads/short-url/c2IM5AM3Yv6FeKuPYKMRamocPNh.zip) (12.9 KB)

 ![2020-09-18_8-29-56](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/3/f38ed6266e5aa7f266e3ad1419e08bcd9902bc96.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/timeseries-chart-doesnt-work-as-bar-chart-as-normal-bar-chart/38684)._
