how can i draw dynamic highchart. the y-axis and the number of charts are dynamic from json
◷
تاریخ انتشار: 1395/5/6 | ساعت: 18:12
Vote count: 0 im new in angular js and i need to use highchart in my angular page . the problem is that i must draw chart with dynamic data from json and the number of charts will be dynamic too , maybe it should draw 3 or 4 different chart from one json . I searched alot but couldnt solve my proble...
Pass a variable number of arguments to the map function
◷
تاریخ انتشار: 1395/5/6 | ساعت: 18:12
Vote count: 0 Suppose I have a function whose the prototype is: def my_func(fixed_param, *args) I would like to run this function with multiple arguments (not necessary the same number of arguments for each run) such as: res = map(partial(my_func, fixed_param=3), [[1, 2, 3], [1, 2, 3, 4]]) where [1,...
angular2 and nodeJs
◷
تاریخ انتشار: 1395/5/6 | ساعت: 18:12
Vote count: 0 I'm trying to crate and angular2 project with a REST service, using node. Although I found some tutorials/sample codes doing this kind of applications, the organization of the code/project is different form each other. I'm trying to figure out what's the best way so far to do that. Bas...
IOS keyboard direction and the direction of the status bar is not consistent, how to solve?
◷
تاریخ انتشار: 1395/5/6 | ساعت: 16:40
Vote count: 0 The iOS status bar is set to horizontal screen display, but when the keyboard is still vertical screen, do not know how to solve? Thanks asked 33 secs agoLiu.Weilong Let's block ads! (Why?)
Test the equality of multiple arguments with Numpy
◷
تاریخ انتشار: 1395/5/6 | ساعت: 16:40
Vote count: 0 I would like to test the equality of multiple args (i.e. it should retu True if all args are equal and False if at least one argument differs). As numpy.equal can only handle two arguments, I would have tried reduce but it, obviously, fails: reduce(np.equal, (4, 4, 4)) # retu False bec...
What are Advantages of using sql query in entity framework instaead of using in ado.net
◷
تاریخ انتشار: 1395/5/6 | ساعت: 16:40
Vote count: 0 As you know we can use raw sql query in entity framework by SqlQuery() method or ExecuteSqlCommand() method. in addition we use raw sql query in ado.net for add, change or remove data in database. My question is way we use entity framework to execute raw sql queries while we can execut...
JQuery .not() for inner HTML elements
◷
تاریخ انتشار: 1395/5/6 | ساعت: 15:25
Vote count: 0 I have simple HTML like below: <div class="col-md-4"> <div class="col-md-4"> <div class="panel panel-wa ing"> <div class="panel-heading"> <div class="row"> <div class="col-xs-3"> <i class="fa fa-home" style="font-size: 50px;" aria-hidden="true"></i> </div> <div class="col-xs-9 text-rig...
How to implement "IN" to prepare statement?
◷
تاریخ انتشار: 1395/5/6 | ساعت: 15:25
Vote count: 0 My code is like this : public function get_opportunity($group_id) { $sql = "SELECT COUNT(transaction_id) AS total_transaction FROM `transaction` WHERE group_id IN(?)"; $result = $this->db->query($sql, array($group_id))->result_array(); retu ($result[0]['total_transaction']) ? $result[0...
How to set proxy for my application through Settings/Option/Preferences forms?
◷
تاریخ انتشار: 1395/5/6 | ساعت: 15:25
Vote count: 0 I'm building an C# application using VS2015 and I have a problems: - I have a Prefe ces forms with Proxy co ection Option. - How to set up Proxy co ection for my application (for any forms). - Save it (proxy config) as a file. - Load it when Application starts asked 25 secs agoFilper J...
How Remove the id from the ul tags in the wp_nav_menu() function
◷
تاریخ انتشار: 1395/5/6 | ساعت: 12:08
Vote count: 0 please help me how to remove id from menu ul in wordpress custom menu.i m not able to remove id from id from ul tag my code is i want to remove id="menu-primary-menu" thanks in advance asked 1 min agoAsif Ali Let's block ads! (Why?)
ec2-describe-images how to list the creation date of ami for all the AMI's created by specific owner
◷
تاریخ انتشار: 1395/5/6 | ساعت: 12:08
Vote count: 0 I am using AWS CLI to get the list of AMI's created by specific owner however I want to get the creation date of the AMI along with the size of the AMI The command I am using is below. ec2-describe-images --filter "is-public=false" --filter "architecture=x86_64" --filter "owner-id=xxxx...
Setting the time for the directory in C-programming
◷
تاریخ انتشار: 1395/5/6 | ساعت: 12:08
Vote count: 0 My question is how can we set the times for the created directories. I am using a char array[10] for the name of the directory. Is there a way to output the differences between those time? Here is my code: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dirent.h> i...
String.Format or string.Contains? C# .NET
◷
تاریخ انتشار: 1395/5/6 | ساعت: 9:05
Vote count: 0 I tried using String.Format that is commented below but it doesn't work. I tried using contains but it seems like it only takes a certain amount of characters its not reading 2 numbers just 1. I want it to really use the string.format. I pretty much want to save the two numbers from th...
JQuery - Prevent highlighted text from being overwritten
◷
تاریخ انتشار: 1395/5/6 | ساعت: 9:05
Vote count: 0 I want to have posts be in a contenteditable div which users can comment, but I don't want them to be able to delete any existing text. Is there a way to do this? asked 54 secs agoEllie G Let's block ads! (Why?)
How to perform a OLS regression on dynamic data frame and estimate the slope coefficient?
◷
تاریخ انتشار: 1395/5/6 | ساعت: 9:05
Vote count: 0 I have a data frame like below and it's structure is not fixed, it can have different number of column at different moment. A_Name B_Info Value_Yn Value_Yn-1 Value_Yn-2 ...... Value_Y1 0 AA X1 0.9 0.8 0.7 ...... 0.1 1 BB Y1 0.1 0.2 0.3 ...... 0.9 2 CC Z1 -0.9 -0.8 -0.7 ...... -0.1 3 DD...
Check if post data is passed on a curl
◷
تاریخ انتشار: 1395/5/6 | ساعت: 7:50
Vote count: -2 Hi want to check if post data by a form is passed by curl site, i am a newbie at this so please do not mind me. What i want to do is when a user/pass is submitted to go through a specific site login url e.g.: https://www.facebook.com/login.php, check if valid or not, if valid DO SOMET...
Angular JS ui-router not loading view
◷
تاریخ انتشار: 1395/5/6 | ساعت: 7:50
Vote count: 0 I am having trouble with my Angular JS ui-router and every question I have found on here shows a solutions I have already tried. In my ui-view-tag my actual template is not displayed. <body ng-app="myApp"> <div class="row"> <div class="col-md-6 col-md-offset-2"> <ui-view></ui-view> </d...
SKLabelNode Not Showing [SpriteKit]
◷
تاریخ انتشار: 1395/5/6 | ساعت: 7:50
Vote count: 0 self.smallScreen = (self.childNodeWithName("screen") as? SKShapeNode)! self.smallScreen.position = CGPoint(x: self.frame.size.width/2, y: self.frame.size.height * 2/3) screenLabel.text = "Screen" screenLabel.fontSize = 30 screenLabel.fontColor = UIColor.redColor() screenLabel.position ...
pxe booting http retrieval failures
◷
تاریخ انتشار: 1395/5/6 | ساعت: 3:32
Vote count: 0 I am attempting to pxe chain boot with http download. The problem I am having is the file retrieval always just stops on one of the random files below, at some random % complete. Usually it is the boot.wim, but I assume this is only because it is the largest. It has stopped on a simple...
How to add regline to df.plot.scatter
◷
تاریخ انتشار: 1395/5/6 | ساعت: 3:32
Vote count: 0 I've done df.plot.scatter like this df = pd.DataFrame({'x':y_pred, 'y':y_test}) df.plot('x', 'y', kind='scatter', s=50) I want to add regline & i have no idea how to do this of course I can do by sns.lmplot but i like this style python 3 asked 1 min agoEdward Let's block ads! (Why?)