Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Commit

Permalink
Disable species chart if too much data
Browse files Browse the repository at this point in the history
  • Loading branch information
iver56 committed Dec 19, 2016
1 parent b025efc commit d51e9d2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web_client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,13 @@ <h1>Waiting for data</h1>
</md-card-title-text>
</md-card-title>
<md-card-content>
<stacked-area-chart series="statsService.speciesSeries"></stacked-area-chart>
<stacked-area-chart
series="statsService.speciesSeries"
ng-if="statsService.numGenerations && statsService.numGenerations <= 100"
></stacked-area-chart>
<p ng-if="statsService.numGenerations > 100">
Disabled because there is too much data
</p>
</md-card-content>
</md-card>
</md-tab>
Expand Down

0 comments on commit d51e9d2

Please sign in to comment.