Questions tagged [meteorcharts]

Javascript charting package used to render charts (line, dot, bar, pie, interactive pie) in web pages

4 questions
8
votes
1 answer

reactive chart with chart.js in meteor

i am using chart.js to generate charts in a meteor app. Here is my code function drawChart(){ var data = [ { value: Policies.find({'purchased_cover.trip_type': 'Single Trip'}).count(), …
Rajanand02
  • 1,303
  • 13
  • 19
2
votes
1 answer

ChartJS: how to make a bar chart with a horizontal guideline:

Is it possible to make a chart like the example below? I haven't been able to find an example with an overlay. I'm using this in the context of an atmosphere plugin within a meteor application so it might not be possible for me to easily add…
Shane
  • 4,921
  • 5
  • 37
  • 53
0
votes
3 answers

Meteor, ChartsJS and MongoDB

I want to iterate through the MongoDB collection to get the chart labels but I get TypeError: undefined is not an object (evaluating 'teams[i].name') here is my code: var teams = Teams.find(); var teamNames = [10]; for(i = 0; i < 10; i++) { …
Klaudia Bojda
  • 11
  • 1
  • 3
0
votes
2 answers

Adding a Meteor Chart to an existing Kinetic.JS app

I'm building a game with kinetic.js and I want to display some line charts using Meteor Charts within it. The chart needs to scale with the game canvas and be positioned correctly. Can I embed the chart directly in an existing layer within the app?