v2.5.1Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.


Reported Outcomes piechart for Meteor ClinicalFramework using D3 and NVD3.

========================== ####Package Installation

meteor add clinical:graphs-piechart

Then add the graph to your application with the following.

1{{> ReportedOutcomesChart }}

Note that you can currently only have one ReportedOutcomesChart on the page at a time. After adding the ReportedOutcomesChart to your document object model, you'll need to subscribe to the collection and render the graph. The best pattern we've found so far is within the router, like so:

1Router.route("/analytics", {
2  name:"analyticsRoute",
3  template:"analytics",
4  onAfterAction: function () {
5    Graphs.renderReportedOutcomesStats();
6  }



1// isomorphic object
4// remote procedure call'incrementReportedOutcomeCount');

========================== ####Contributions & Licensing

MIT License