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

jqplotToImageStr - strange behavior #168

Open
FredVeuerstein opened this issue Jul 6, 2018 · 2 comments
Open

jqplotToImageStr - strange behavior #168

FredVeuerstein opened this issue Jul 6, 2018 · 2 comments
Labels
Milestone

Comments

@FredVeuerstein
Copy link

Can you please help me?
jqplot makes a fine plot as shown in firstly attached image correct.png. Lable 'Volumenstrom..' and ticks on x-axis are correctly plottet.
correct.png
correct

Now, i want to save this graph as image.

Crome 67.0.3396.99 (Offizieller Build) (64-Bit) and IE 11.096 show a fine image as expected, each detail as in original, correct plot.

Firefox (Quantum 61.0 (64-Bit)) shows the secondly attached image
wrong.png
wrong

The lable 'Volumenstrom..' is disappeared, no labeling and no ticks are on the x-axis, the y-axis is stretched into a little 'nirwana'.

What's going wrong in FF or what am i doing wrong?

some codesnippets:

<script> var plot2; $(document).ready(function(){ var series1 = ; var series2 = ; var labels = ; var data =[series1, series2]; plot2 = $.jqplot ('p_kenn', data, { .... var imgData = $('#p_kenn').jqplotToImageStr({}); var imgElem = $('

').attr('src',imgData); $('#img_p_kenn').append(imgElem); ...
@johanbove johanbove added the bug label Sep 27, 2018
@johanbove johanbove added this to the jQplot 1.10.0 milestone Sep 27, 2018
@dg-hub
Copy link
Contributor

dg-hub commented Oct 13, 2018

Hi @FredVeuerstein

Thanks for raising this bug, I have attempted to replicate the issue but I am having some trouble.

Can you please submit some for specific information, such as the options plugins used. A copy of the $.jqplot initialisation statement should be sufficient, although the more detail you can provide the better.

@FredVeuerstein
Copy link
Author

Hallo Daniel,
please accept my apologise for my late answer.
My father died, i had to move to another town. So i vergot my troubles with jqplot.

After hours of testing, the situation is now:
Your examples on your homepage is working well. i mentioned a small discrepancy, your examples are completly hosted inside php-files, in downloaded file, all examples are hosted in html-Files.
i downloaded latest version of jqplot (jquery.jqplot.1.0.9.d96a669.zip).
i expanded the zip-file in an empty directory. i didn't change any line inside.
i started line-charts.html in example-directory with doubleclick in filemanager.
Anything was going well.
Then i pointed to line-charts.html in my latest Firefox 64.0 Quantum, running offline an apache 2.4 inside XAMPP Version: 5.6.28.
The result, similary in all plot-images with ticked and labeled x-axis/y-axis is shown in the appended picture, same behaviour as above picture.
jqplot_001
The strange behaviour is only to be seen in Firefox (also in one or two former versions), not in Chrome 71.0.3578.98 or IE 11.0.9600.18499
(only Windows-Firewall running, uBlock deactivated.)
i am running Windows 7 prof. SP1 64 and i am at a loss with that behaviour. Do you have an idea?
Johannes

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

No branches or pull requests

3 participants