Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meterGaugeRenderer draws but throws exception if it is NOT the first JQPlot element rendered on page. #184

Open
ABPTech opened this issue Feb 5, 2019 · 0 comments

Comments

@ABPTech
Copy link

ABPTech commented Feb 5, 2019

Have tried updating to latest version, no difference. I have a page that uses multiple JQPlot graphs to display information about a piece of hardware such as CPU or RAM usage as well as historic graphs showing those data points over time. If the meter gauge is the first one listed on the page, it works just fine and the console shows no errors. If any other type of graph is placed inline before the meter gauge, the meter renders, but then throws the following exception and breaks all subsequent JSPlot graphs from being rendered (and kills all javascript functionality).

image

As you can see in the screenshot, the MOS Score historic line chart works just fine, the meter gauge is rendered (with the % number curiously in the top left), and then the CONCURRENT CALLS graph is broken (not rendered).

Here is the Javascript that generates these 3 graphs:
https://pastebin.com/fhNpGkUB

Console error:
jqplot.pointLabels.js?v=1549408139:331
Uncaught TypeError: xax.u2p is not a function
at e.$.jqplot.PointLabels.draw (jqplot.pointLabels.js?v=1549408139:331)
at e.draw (jquery.jqplot.min.js:5)
at g.drawSeries (jquery.jqplot.min.js:5)
at g.draw (jquery.jqplot.min.js:5)
at Function.a.jqplot (jquery.jqplot.min.js:5)
at HTMLDocument. (001DAA637E08:1468)
at j (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.K (jquery.js:2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant