Hi All
I am trying to sort out using queries to make charts and I am running into two problems.
1. Even after adding conditions I can not run queries as the button is disabled. I can get around this by changing it to a live query but I would prefer to be able to use the actual button.
2. I can't view a chart. When I try to do this I just get a loading screen that won't end. According to the Console, the error is either undefined properties or functions not existing. My query selects all jobs with a test suite with a name equal to 0_smoke-tests and then my graph is Type: pass/fail, Representation: bar, X-axis attribute: none.
I am wondering if these are bugs or if I am doing something wrong. If anyone can help that would be greatly appreciated
Thanks Daniel
This is the Console output specifically for the chart page.
Uncaught TypeError: this.getTextLayer is not a function at Canvas.getTextInfo (jquery.flot.canvas.js:195:22) at measureTickLabels (jquery.flot.js:1771:28) at Object.<anonymous> (jquery.flot.js:2015:11) at Function.each (jquery-3.6.1.js:383:19) at setupGrid (jquery.flot.js:2004:11) at new Plot (jquery.flot.js:1112:5) at $.plot (jquery.flot.js:3332:16) at ChartQuery.update_plot (chart.js:1159:23) at ChartQuery.add_chart (chart.js:92:18) at Chart.start (chart.js:13:19)
Hello Daniel,
Queries and Charts have not been maintained in a very long time and currently there's no plans to maintain them in our development efforts. Any contributions though are, as always, welcome. The bugs have most likely occurred due to upgrades of the JS libraries that are used throughout LAVA to the more recent versions without updating the code in the result app.
Thanks,
On 2/5/24 04:11, Daniel Jensen wrote:
This is the Console output specifically for the chart page.
Uncaught TypeError: this.getTextLayer is not a function at Canvas.getTextInfo (jquery.flot.canvas.js:195:22) at measureTickLabels (jquery.flot.js:1771:28) at Object.<anonymous> (jquery.flot.js:2015:11) at Function.each (jquery-3.6.1.js:383:19) at setupGrid (jquery.flot.js:2004:11) at new Plot (jquery.flot.js:1112:5) at $.plot (jquery.flot.js:3332:16) at ChartQuery.update_plot (chart.js:1159:23) at ChartQuery.add_chart (chart.js:92:18) at Chart.start (chart.js:13:19) _______________________________________________ lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
lava-users@lists.lavasoftware.org