Dear All,
I have been looking for an option to create charts on meteor querying the information from a mongoDB collection.
However I have found different topics on this forum and other sites related. But anyone have provided a very helpful and simple code example of use.
Many people just put something like > function()… … (data) * on data just put your data.
So…
I have seen that there are two main packages: CHART.JS and Highcharts.
Then could someone help me to provide a code example from these packages in order to know:
How can I create a chart using a meteor collection where:
- You have to use the aggregate function with “match” or any query from a mongodb collection.
- Call it on server side to create a method or publish function that I will use on client side.
- On client side how to show the chart using the values returned on server side function.
I am a beginner on Meteor. And its very difficult for me to understand some technical comments.
I really appreciate all your help and time on this matter. I have read the information for both packages but using it on meteor on the way specified above there is no a good example.
Thanks in advance,
Have a great day.