Jan Huenges
Jan Huenges
I would like to use neo4j together with [Apollo](http://www.apollostack.com/) and [Meteor](https://www.meteor.com/) to create some kind of a social network
Can you check if [this](https://forums.meteor.com/t/creating-chart-with-meteor-highchart/17009/2) helps? If not, I can provide you with some more help.
Okay, I have to see if I have some time later today.
Can you give me an example of how your data looks (`Todos.findOne({...})`)? I am not 100% sure i understand what you want.
Try this: ``` javascript var chart; /* * Function to draw the column chart */ function builtColumn(chartData) { chart = $('#container-column').highcharts({ chart: { type: 'column' }, title: { text: 'Monthly...
You could try to do this in the `_.each()`-block: ``` js listData.name = Lists.findOne(list[0].listId).name; ``` or ``` js var listSource = Lists.findOne(list[0].listId) if (listSource) { listData.name = listSource.name; } else...
I am not quite sure :/ Maybe post this question on the Meteor forum.
Can you add `console.log(listData);` [here](https://github.com/aligos/todomoro/blob/master/client/templates/chart.js#L100), [here](https://github.com/aligos/todomoro/blob/master/client/templates/chart.js#L105), [here](https://github.com/aligos/todomoro/blob/master/client/templates/chart.js#L115) and [here](https://github.com/aligos/todomoro/blob/master/client/templates/chart.js#L120)? Please give me the output and I will try to find a solution.
Oh my bad! Can you use `listData.data`?
Okay, got it! Please exchange [these lines](https://github.com/aligos/todomoro/blob/master/client/templates/chart.js#L107-L121) with the following code: ``` javascript var monthLookup = { Jan: 0, Feb: 1, Mar: 2, Apr: 3, May: 4, Jun: 5, Jul:...