Plotting Line Graph with JSON data, Android

I'm total beginner in Android development and I'm doing app for class. My assigment is to display JSON data in application as text and graphs. I'm using Retrofit 2 to display it as text in one activity, but I'm having problems with graphs, I don't kn...
more »

2017-01-11 05:01 (1) Answers

Graph search algorithm with fewest accessed nodes

I need an algorithm to find ANY path from point A to point B in a graph. The problem is that finding out wich nodes can follow a specific one needs a quite lengthy matlab simulation, so i want to access as few nodes as possible. I know some heuristi...
more »

2017-01-10 11:01 (0) Answers

MPAndroidChart: add custom image inside bars

I am using MPAndroidChart and I want to show a custom drawable inside this CombinedChart like in below image: If bar value is >= a goal value, say, 50, then I would like to add a star image inside the bar. Can any one help me for customise the B...
more »

2016-12-27 08:12 (1) Answers

What do line colors in git log --graph mean?

I'm curious what do line colors mean in git log --graph? Yes, I'm asking about lines | / \ which connect commits * at the left edge of console output. Question #1 Do these colors have some hidden meaning? Or do they are pseudo-randomly chos...
more »

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

How to embed matplotlib graph in Django webpage?

So, bear with me as I'm VERY new to Django, Python, and web-development in general. What I want to do is display a graph that I've made using matplotlib. I had it working to where the home page automatically redirects to the png of the graph (basical...
more »

2016-11-10 19:11 (0) Answers

trying to incorporate search in graph

I am trying to display statistics on a graph of students marks, the user will first need to enter the student number then according to the student number it must retrieve the marks and display on the graph, i reached a bit of a jam with the matching ...
more »

2016-11-09 20:11 (0) Answers

Show graphs in Solr client web interface

My search query comprises of more than one fields like search string, date field and a one optional field. I need to represent these on the web interface to users. Secondly, I need to represent the search data in graphical format (month wise popu...
more »

2016-11-08 15:11 (0) Answers

2D array of characters formatting

So i am writing a program where i have to read from a file that contains coordinate points and then display the plot. For instance, i have this as the first line, 20 10. What my program should do, is plot this using a 2D array of characters. An 'X' i...
more »

2016-10-31 20:10 (2) Answers

How to rotate legend symbols in ggplot2?

Consider for example this plot using the data mtcars and the function coord_flip library(ggplot2) library(Hmisc) ggplot(mtcars,aes(x=gear,y=cyl)) + stat_summary(aes(color=as.factor(rep(1:2,16))),, position=position_dodge(0.4))...
more »

2016-10-25 01:10 (2) Answers

Stacked bar graph with variable width elements?

In Tableau I'm used to making graphs like the one below. It has for each day (or some other discrete variable), a stacked bar of categories of different colours, heights and widths. You can imagine the categories to be different advertisements that ...
more »

2016-09-13 19:09 (2) Answers

Radial tree graph layout: fix beizer curves

i want to render nice radial tree layout and a bit stumbled with curved edges. The problem is that with different angles between source and target points the edges are drawn differently. Provided pics are from the single graph so you can see how they...
more »

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

How to query Titan Graph Database from iOS App

If I set up a graph-database with an AWS DynamoDB backend using the Titan plug-in, how do I then actually send queries to the database and return values? From this Diagram that I found here, it looks like the TinkerPop API can be used to send these q...
more »

2016-08-06 03:08 (1) Answers

Bidirectional search implementation for graph

Trying to implement Bidirectional search for graph, but failed many times to do it. As I understand I should somehow merge 2 Breadth First Searches for "Start" and "End" vertexes. Base case will be when both searhes found the same vertex. Could you...
more »

2016-07-30 15:07 (0) Answers

Graph search with constraints on edge type

I'm looking for the right keywords/nomenclature for the following problem, since I cannot find anything on google to this topic: I have a graph where each edge and each node is assigned to a certain class/color or whatever you call it. Now I want to...
more »

2016-07-24 13:07 (1) Answers

Date changes after going through $filter()

I’m trying to create a chart with highcharts, but the data seems to be off my one date. I tried logging the original its output is what I want but when I log “date”, it’s always off by one date. Ex: console.log data.createdAt → Jun, 30 ...
more »

2016-07-06 15:07 (1) Answers

Neo4j read_only doesn't work

So... I know there's quite a few articles and stuff to read about how to set Neo4j in read-only mode. Problem is, it doesn't seem to work for me. I've got an existing database in Neo4j 3.0.3 (I'm not the one who put it together though, so I'm really...
more »

2016-07-06 14:07 (1) Answers

Generator of graphs with known chromatic number

I have implemented several graph coloring algorithms as a class project and I would like to test and compare their performance. For this I need test graphs with known chromatic number. I have expected this to be quite common requirement so that ther...
more »

2016-07-01 23:07 (0) Answers

node search bar for D3.js graph using jQuery

I have a web page that displays a force directed graph (with other features) using the D3 javascript library. I am trying to add a node search bar (using jQuery) that highlights the node when I've searched for one of it's attributes (name, clusterID,...
more »

2016-06-22 07:06 (1) Answers