Skip to content

Commit

Permalink
Merge pull request #7224 from ORNL-AMO/issue-7207
Browse files Browse the repository at this point in the history
Issue 7207 - Fix graph updated rendering, change avg-max column and points displayed
  • Loading branch information
rhernandez-intertech authored Jan 2, 2025
2 parents 0e1de19 + 7ffe26a commit 12c2db3
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@
<tr class="bold small text-center no-border">
<th class="bold w-25">Key</th>
<th class="bold w-25">{{ xAxisTitle }}</th>
<th class="bold w-25">Achievable Efficiency (%)</th>
<th class="bold w-25 text-left">Achievable Efficiency (%)</th>
<th class="bold w-25"></th>
</tr>
<tr *ngFor="let point of selectedDataPoints; let index = index">
<td class="text-center">
<div class="point-key-circle"
[ngStyle]="{'background': point.pointColor,
'border': index < defaultTraceCount? '4px solid ' + defaultTraceOutlineColor : ''}">
'border': index < 1? '4px solid ' + defaultTraceOutlineColor : ''}">
</div>
</td>
<td class="text-center">{{point.x}}</td>
<td class="text-center">{{point.y}}</td>
<td class="text-left">{{point.avgMaxEffColumn}}</td>
<td class='delete-row text-center'>
<a *ngIf="!validEfficiency || index >= defaultTraceCount" class="click-link m-2 text-danger" (click)="deleteDataPoint(point, index)">
<a *ngIf="!validEfficiency || index > 0" class="click-link m-2 text-danger" (click)="deleteDataPoint(point, index)">
Delete
</a>
</td>
Expand All @@ -72,7 +72,7 @@
</tr>
<tr *ngFor="let point of selectedDataPoints; let index = index">
<td class="text-center">{{point.x}}</td>
<td class="text-center">{{point.y}}</td>
<td class="text-left">{{point.avgMaxEffColumn}}</td>
</tr>
</tbody>
</table>
Expand Down
Loading

0 comments on commit 12c2db3

Please sign in to comment.