Example attached, with references to this thread.
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 (12.9 KB)
1 Like