-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the pie charts run dynamically from the table data instead of the #20
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ | |
%h3 | ||
All Funds | ||
%i.fa.fa-spinner.fa-spin{ng: {show: 'loading.budget_data'}} | ||
%allFundsChart{data: 'budget_data'} | ||
%allFundsChart | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why remove the parameter and instead reference There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this makes things faster, I'm all for it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The table_data is what is being built by the filters, which is how the charts dynamically update |
||
.col-md-6 | ||
%h3 | ||
General Services | ||
%i.fa.fa-spinner.fa-spin{ng: {show: 'loading.budget_data'}} | ||
%generalServicesChart{data: 'budget_data'} | ||
%generalServicesChart | ||
%hr | ||
%table.table.table-striped{ng: {if: 'table_data.length > 0'}} | ||
%thead | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can just omit the whole
scope:
section if you don't want anything in it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh okay, cool. That's just what the example in the docs had :) I'll change that