Skip to content

Commit

Permalink
Add new externalities graph type
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolas committed Feb 27, 2025
1 parent 8b6fc82 commit 1a584b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions econplayground/main/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
(24, 'Tax Supply and Demand vs. Tax Revenue'),

(25, 'Linear Demand and Supply - Surplus Policies'),
(26, 'Externalities'),
)

ASSIGNMENT_TYPES = (
Expand Down
3 changes: 3 additions & 0 deletions media/js/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ const displayGraphType = function(gType) {
case 25:
name = 'Linear Demand and Supply - Surplus Policies';
break;
case 26:
name = 'Externalities';
break;
default:
break;
}
Expand Down

0 comments on commit 1a584b2

Please sign in to comment.