Skip to content

Commit

Permalink
feat(jobs-speed-chart): show legend
Browse files Browse the repository at this point in the history
  • Loading branch information
ElonH committed May 27, 2020
1 parent 5c0dd1f commit d21db88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/jobs/jobs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ import { CombErr } from 'src/app/@dataflow/core';
background-color: lightcoral;
}
.speed-body {
padding: 1rem 0 0 0;
padding: 0;
min-height: 10rem;
overflow-y: hidden;
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/jobs/speed-chart/speed-chart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as moment from 'moment';
.chart-container {
position: relative;
width: 100%;
height: 287px;
height: calc(100% + 1.3rem);
}
canvas {
width: 100%;
Expand Down Expand Up @@ -74,7 +74,7 @@ export class SpeedChartComponent implements OnInit {
},
},
legend: {
display: false,
display: true,
},
hover: {
intersect: false,
Expand Down

0 comments on commit d21db88

Please sign in to comment.