Resizing Highcharts legend on window resize
Vote count: 0 I want to change the size of Highcharts legend (especially its width). Here is some of the code I tried to use based on research I did: $(window).resize(changeSummaryLayout); function changeSummaryLayout() { var w = window.i erWidth; if (w < 1370 && w > 992) { for (i = 0; i < charts.le...
'socket.io error on connect: Error: xhr poll error' while importing zone.js when using Karma/Jasmine in Angular 2 with NativeScript 2.0 [1.7.1]
Vote count: 0 I'm getting the below error while ru ing my tests using Karma with Jasmine in my Angular2 with NativeScript project. The tests are being executed correctly, but, this error keeps repeating in the console. I observed the error is coming only after importing zone.js (imported it because ...
i have API key but when i put it in my android studio to return me list its return me but nothing and i can sad that its return me json
Vote count: 0 public class GetPlaceSearchTask extends AsyncTask {enter code here enter code here private Context context; private ProgressDialog dialog; public static final String SEND_RESULT_SEARCH_BROADCAST_FROM_TASK = "send_result_search"; private String API_LOCATION = "https://maps.googleapis.co...
SAP HANA Vora 1.2 : Cannot load as virtual table in HANA Studio
Vote count: 0 In SAP HANA Vora 1.2 Dev Edition: I've configured the Spark Controller and started server. Then I run the spark-shell and created a new table. In SAP HANA Studio i can see now folder "spark_velocity" and "table001" in it, which I created. When I try to add this table my HANA folder wit...
Have any solution for validate gcm token?
Vote count: 0 I have a api for register device with the server. In this api, the device must send gcmtoken to the server and server will save it to db. My problem is how to server know this gcmtoken has been generate from my app? Have any suggestion for validate a gcmtoken is generate from my app? a...
Storing xml data in Java collections
Vote count: 0 <?xml version="1.0" encoding="UTF-8"?> <filepaths> <application_information_ticker> <desc>Ticker1</desc> <folder_path>../atlas/info/</folder_path> </application_information_ticker> <document_management_system> <desc></desc> <folder_path>../atlas/dms/</folder_path> </document_management...
'zsh: permission denied: webpack'
Vote count: 0 I installed oh-my-zsh via a curl & ever since, have been getting the following error: 'zsh: permission denied: webpack' When I run the command: 'chmod +x webpack/*', I get the following on my terminal: 'zsh: no matches found: webpack/*' I'm on osx How can I get rid of this error so I c...
Azure Mobile App, Cordova client, Azure AD - refresh tokens?
Vote count: 0 This stack is shaping up to be perfect for our use case: Azure Mobile App Azure AD C# backend (using GetAppServiceIdentityAsync<AzureActiveDirectoryCredentials>() to authorize users to API endpoints based on security group membership) Cordova client The missing piece of the puzzle for ...
Undefined index in php when using ajax
Vote count: 0 <body> <head> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script> function val() { var name=document.getElementById("name").value; if(name == '') { alert(name+" is empty"); } else { var dataString = "name = "+name; $.ajax({ type:"POST", url:"hi.php", data:dataString...
value cannot be passed into another public static method (java)
Vote count: 0 This is my DAO. It consists of public static method for presentationBean, public static method for lecturerBean and lastly, public static PresentationBean addavailable2(PresentationBean ADbean) to access the database. public class AddAvailableDAO2 { static Co ection currentCon = null; ...
How can i restrict the access to my php source code?
Vote count: 0 I know the question is kinda weird but the thing is like this: I've created a web application in PHP and mySQL database for a school. And I am using the same application as the mini project for my semester. But now we need to submit the whole project into a DVD to my teacher. But I don...
C - error when allocating dynamic memory for linked list node
Vote count: 0 I am trying to write a code that read a text file to a linked list and store in memory. I dont know why there are error on malloc functions I use in my code. This is the pre-given header file that need to keep as is: #ifndef ADDRESSBOOK_LIST_H #define ADDRESSBOOK_LIST_H #define NULL_SP...
how to show Min and Max value on dynamic pivot table
Vote count: 0 I'am create pivot table from dt_table join with dt_k table dt_k +------+--------+-----+ | id_k | name_k | ott | +------+--------+-----+ | 1 | item 1 | ss | | 2 | item 2 | ss | | 3 | item 3 | ww | | 4 | item 4 | dd | | 5 | item 5 | asa | | 6 | item 6 | rr | +------+--------+-----+ dt_ta...
How to optimze insert in CodeIgniter (insert faster)
Vote count: 0 I want to create a table with all the links in another one, but the proccess is too slow, I am doing this with CodeIgniter, and I want to know if there is a better way to do it. This is my code: foreach($results as $value) { $ci->db->select('id'); $ci->db->where('url', $value->Url); $l...
html5 video buffer not effect in Chrome 50
Vote count: 0 video preload mode is 'auto' look at these three requests, first when I enter this page, video start get metadata(18.1MB) the second request is when I start video and pause, browser start get buffer and totally buffered(304M) but when I start and pause again, or seek to any video time,...