#1 2023-09-29 11:47:01

msx008
Member
Registered: 2023-09-20

testing scriptreport highcharts.groovy

hello
I am currently testing RS4.6.1-6098 EE under Apache Tomcat/9.0.43 (Debian) and JVM 11.0.20+8-post-Debian-1deb11u1
I try this script highcharts.groovy
the demodata are loaded
I put the parameter key YEAR in my scriptreport and source Demo Data , trying with 2021 or 2022 or 2023 (none works) the 2020 data as said in the script are not in the test database
I launch it, it runs but the screen doesn't output anything
I have nothing in the Tomcat logs (parametized like installation on ubuntu says, in /var/lib/tomcat9/conf/logging.properties)
Do you have any ideas and help ?
regards

Offline

#2 2023-10-06 09:03:57

adrian1703
Moderator
Registered: 2021-10-29

Re: testing scriptreport highcharts.groovy

Hello,
I have tested the highcharts.groovy. As for the year, it seems that the demo data was updated, so you might not get results by setting the year to 2020, but 2021 or 2022 will yield results on the current version.

If there are no errors, you could try the following..
When using highcharts.groovy replace the following on line 81
      <script>     -->       <script language = "JavaScript">


Best Regards,
Adrian

Offline

#3 2023-10-06 09:59:22

msx008
Member
Registered: 2023-09-20

Re: testing scriptreport highcharts.groovy

hello
thank you for your reply
my fault  ¯\_(ツ)_/¯
but it allowed me to see clearly
I put the key in uppercase instead of lowercase , sorry again for the inconvenience and thank you
works fine
Regards

Offline

Board footer

Powered by FluxBB