V8.0.15
I am generating Production reports and using historical data from SQL and need to show Bar chart.
The client was use to excel charts and they want same looks in new reports.
Any suggestion how to achive beter look in reports?
Thanks
Excel report chart:
Ignition Report:
1 Like
Why use the time series instead of the bar chart?
How can you show the Time on X-Axis? How you show Time where is Domain Key for bar chart?
And how you will show the ‘target’ as line chart as referance?
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
Thank Jordan,
I nedded some example to work with. I will try this code.
I am not an expert with scripts but I will give a short.