add title to xaxis
This commit is contained in:
parent
01e47b9656
commit
82b8b8bd74
@ -188,7 +188,7 @@
|
|||||||
<mat-card-title>Rental Time</mat-card-title>
|
<mat-card-title>Rental Time</mat-card-title>
|
||||||
<mat-card-subtitle>
|
<mat-card-subtitle>
|
||||||
This chart shows the workload of the currently selected Station in relation
|
This chart shows the workload of the currently selected Station in relation
|
||||||
of the time of the day. It is visualized at which time of the day a journey begins or ends.
|
of the time of the day. It is visualized at which time of the day a journey begins or ends (blue).
|
||||||
In addition, the average rental duration of the trips is displayed at the given time (green).
|
In addition, the average rental duration of the trips is displayed at the given time (green).
|
||||||
</mat-card-subtitle>
|
</mat-card-subtitle>
|
||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
|
@ -297,6 +297,9 @@ export class DashboardComponent implements OnInit {
|
|||||||
colors: ['transparent']
|
colors: ['transparent']
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
|
title: {
|
||||||
|
text: 'average rental duration'
|
||||||
|
},
|
||||||
categories: minutesGroup,
|
categories: minutesGroup,
|
||||||
labels: {
|
labels: {
|
||||||
formatter: value => {
|
formatter: value => {
|
||||||
@ -358,6 +361,9 @@ export class DashboardComponent implements OnInit {
|
|||||||
curve: 'straight'
|
curve: 'straight'
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
|
title: {
|
||||||
|
text: 'time of the day'
|
||||||
|
},
|
||||||
categories: timeFrame,
|
categories: timeFrame,
|
||||||
tickAmount: 24,
|
tickAmount: 24,
|
||||||
tickPlacement: 'between',
|
tickPlacement: 'between',
|
||||||
@ -454,6 +460,9 @@ export class DashboardComponent implements OnInit {
|
|||||||
colors: ['transparent']
|
colors: ['transparent']
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
|
title: {
|
||||||
|
text: 'average rental duration'
|
||||||
|
},
|
||||||
categories: minutesGroup,
|
categories: minutesGroup,
|
||||||
labels: {
|
labels: {
|
||||||
formatter: value => {
|
formatter: value => {
|
||||||
@ -513,6 +522,9 @@ export class DashboardComponent implements OnInit {
|
|||||||
curve: 'straight'
|
curve: 'straight'
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
|
title: {
|
||||||
|
text: 'time of the day'
|
||||||
|
},
|
||||||
categories: timeFrame,
|
categories: timeFrame,
|
||||||
tickAmount: 24,
|
tickAmount: 24,
|
||||||
tickPlacement: 'between'
|
tickPlacement: 'between'
|
||||||
|
Loading…
Reference in New Issue
Block a user