Displaying line graph using data frame grouping

I am learning data frames and trying out different graphs. I have a data set of video games and am trying to plot a graph which shows years on x axis, net sales on y axis and the graph has to be per video game genre. I have grouped the data but am fa...
more »

2017-02-20 23:02 (1) Answers

R - Grouped Bar Plot Ordering Within Groups

Here is some R code and the graph it produces: library(ggplot2) year <- c("1950", "1950", "1960", "1960", "1970", "1970") weight <- c(15, 10, 20, 25, 18, 20) name <- c("obj1", "obj2", "obj3", "obj4", "obj5", "obj1") object.data <- data.f...
more »

2017-02-14 03:02 (1) Answers

excell vba does not show x axis labels

I have a sub that creates an xlXYScatterLines graph and populates it. Set pippo = cht.Chart.SeriesCollection.NewSeries pippo.Values = _ Worksheets(questoFoglio).Range(...) pippo.Name = _ Worksheets(questoFoglio).Range(...) pippo.XValues = _ Works...
more »

2017-02-03 18:02 (0) Answers

OrientDB Graph Calendar Query

I'm trying to create a graph based calendar. I got so far as selecting an exact date to pull vertexes and it works very fast. However, I'm breaking my head on how to perform the date range selection especially when the start and the end dates fall on...
more »

2017-01-29 18:01 (0) Answers

Power BI - Facebook Ads

I'm trying to get my facebook marketing data into power bi. I used Klipfolio before and there it just worked. Now I get this error: "(#274) The ad account is not enabled for usage in Ads API. Please add it in developers.facebook.com/apps -> s...
more »

2017-01-26 17:01 (0) Answers

Custom line style in R

I am hoping to make a directed network plot with arrowheads (or similar chevrons) along the length of the line... The igraph library seems to use the base polygon function, which accepts lty to specify line types, but these are limited to various ...
more »

2017-01-19 22:01 (0) Answers

VBA Script not capturing graph

The following script will eventually be used to refer to check boxes to send specific items to the recipient, eg" [] Send QC data [] Send Fails Data" The following code however does not capture graphs and I cannot spot where it is going wrong, ever...
more »

2017-01-03 17:01 (0) Answers

Specializing template class for graphs

Since there are a lot of graph algorithms that use residual graphs I thought it would make sense to implement a template class resGraph parametrized over the Objects Node and Edge which implements some basic functionality like reading a graph from a ...
more »

2016-12-25 13:12 (1) Answers

create generic graph avoid instanceof

Hello everybody, I was looking for javafx implementation of graphs, here, but for the id, I would like to have any type. The problem is that when I want to show it, It depends of the type, so I can do this : public class LabelCell<T> extends...
more »

2016-12-18 13:12 (0) Answers

Tree - Connected acyclic graph - Representation

From wiki, a tree is an undirected graph in which any two vertices are connected by exactly one Path. Path is connected sequence of edges Tree - Example: It was relatively easy to write multi-walk representation of rooted tree, typedef st...
more »

2016-12-14 05:12 (2) Answers

Macro recorded VBA not creating same column graph

This is my data in Excel, I am trying to create a column graph from it Data in column A is for the column labels and data in column B is for the column heights. This is a picture of the graph I'm looking for: I need to do this through VBA so I ...
more »

2016-12-10 06:12 (1) Answers

How to hide the 0% label in zingchart pie charts

I'm using zingchart and when I do a Pie Chart if theres a slice that have zero it shows a 0% label over the chart example: if I have the following categories A: 40 B: 60 C: 0 This would display a pie chart where a 60% Label would be displayed over...
more »

2016-11-25 18:11 (1) Answers

Pointer is not being assigned

I was working on this little project for a class and I'm running into this problem. I ran ddd on this example and prev is set to null when it exits the while loop, causing a Segmentation Fault. When I was running ddd, I noticed that temp is not null...
more »

2016-11-18 23:11 (1) Answers

Topologically sort DAG into batches

I'm looking for an algorithm to sort a DAG into batches of vertices, such that no vertices in a batch have an edge between them, and the batches are sorted in an order such that no vertex in a batch has an edge to a batch after it in the sorting orde...
more »

2016-11-16 22:11 (0) Answers

Call the Generic parameterized method in java

What does the error mesaage meant and how to call the generic parameterized method from another class: Following is the error message: The method add(int, Integer) in the type BinaryMinHeap<Integer> is not applicable for the arguments (int, Ve...
more »

2016-11-08 09:11 (1) Answers