I think I am missing something.
I have a simple column chart. I have the following in the chart configuration:
exporting: {
enabled: false
},
On the chart, there is a little dropdown allowing me to download the chart as PDF. When I did that in Firefox, there is a popup window showing the name of the PDF file and export from http://export.highcharts.com
I have Firebug in my Firefox and I am unable to see any remote call in the Firebug console to export.highcharts.com. Why am I unable to see any remote call trace? I know I must miss something and thanks for letting me know what it is.
Regards.
Check the net panel on firebug for the remote calls. Double check that the net panel is enabled in the options menu
Related
How I can see the displayed messages for application running using console.log see below image example:
Additional data: I am running on WebLogic Server and I am using webssh, is a web application that I run using runtime of Java and open it in Internet Explorer.
Sample code of console.log:
You need to open the tools of internet explore from toolbar and select developer tools or you can press F12.
Then after you can see the inspection bar, right side of inspection bar has console.
I think you can see that message at there.
Developer tools are pretty powerful in every browser. Today we almost have a consensus on hotkeys.
Rigth click on the viewport then you will see inspect elements then a rectangular box will show up with many tabs and the second one is the console where you can see all of the console.log()
I am trying to install high-charts through npm and use it on the server side to output the data to a jade template. I am using basic express framework.
The first section in the link below is the guide that I am following.
http://www.highcharts.com/docs/getting-started/install-from-npm
However I am getting an error when I use this line of code
require('highcharts/modules/exporting')(Highcharts);
I have tried this across multiple computers and it's the same error across all.
Code used:
I have no idea why its failing. Any help would be great.
The problem is that you are trying to use Highcharts on the server side, but that library requires DOM nodes from the client's HTML document to work (like the document object from the error you show and also the container where the chart will be drawn).
You can emulate the client side using PhantomJS. This way you can render your charts on the server.
You can try following this guide from Highcharts documentation website.
However, it's definitely easier to load and use the library on the client side and use the server only to send the chart data to the client.
I am using Selenium IDE 2.9.0 firefox addon
Trying automate the URL testing
But I get the following error when I try to automate the login,
[error] Element css=input.logon_button.logon_button_hover not found
Looks to me like it's a variable element. The hover part may only show while you are hovering over the link, which you won't be when selenium is running. Rather that right clicking and using the command, or selecting from selenium, view the html for your page and find the element in the code while you aren't hovering over it, to ensure it isn't different.
I have a really strange behavior with highchart (via rails plugin): The graph display without the graphlines but the data exists because when point to the graph it's show the little box with the data.
http://www.alderia.com/highchart1.png
When I open firebug, the lines in the graph appear...
http://www.alderia.com/highchart2.png
The thing is that the same thing happens with Chromium... so it's something not specific to firefox.
Highcharts line chart does not work with jQuery 1.7.
http://www.highcharts.com/documentation/changelog
We're developing a browser-based warehouse app that needs to print labels and invoices regularly. We want to be able to print to the local printer without clicking through the the usual browser print dialogs. Is this possible? Possibly using a greasemonkey userscript? We don't want to have to setup a whole CUPS printer network and deal with all that, but warehouse pickers having to click through a print dialog 1000 times a day isn't an option.
We're printing PDFs, not sure if that matters. If we could do this another way using HTML5 or something else I'm open to course changes or other ideas here.
You can do if you start your chrome (v18+) with the --kiosk --kiosk-printing switches.
You can see it from this video https://www.youtube.com/watch?v=1ewep-ZT64E
You can put a button on the form you are generating, then using embedded javascript in the pdf itself, cause printing to happen silently.
There are various ways to print a
document without requiring user
interaction. One way is to use the
doc object’s print method and set the
bSilent attribute to true, as shown
in “Printing PDF Documents” on page 79
and in the following example:
this.print({bUI: false, bSilent: true,
bShrinkToFit: true});
http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJSGuide.pdf
Take a look at the silent printing section under Print Production.
Here's a batch file example I've created based on the answer provided by #russenreaktor:
#echo off
start "Chrome" chrome --kiosk --kiosk-printing --url http://www.google.com
There's no way to do this with only JavaScript.