I want to align the ngx-charts component :
Using ngFor on an array, I give the data to create charts, I am able to generate three charts, but I want to align them one in top left corner, one at bottom right and one at bottom left corner.
HTML :
<div *ngFor="let spaceval of dataSourceTesting" style="text-align:center;" margin="5% auto">
<form>
<mat-toolbar class="NavToolClass" >
<span> {{spaceval.value}}</span>
</mat-toolbar>
<ngx-charts-line-chart
[results]="spaceval.key"
[gradient]="verticalBarOptions.gradient"
[xAxis]="verticalBarOptions.showXAxis"
[yAxis]="verticalBarOptions.showYAxis"
[legend]="false"
[showXAxisLabel]="verticalBarOptions.showXAxisLabel"
[showYAxisLabel]="verticalBarOptions.showYAxisLabel"
[xAxisLabel]="verticalBarOptions.xAxisLabel"
[yAxisLabel]="verticalBarOptions.yAxisLabel"
[showGridLines]="verticalBarOptions.showGridLines"
[view]="view"
[legend]="verticalBarOptions.showLegend"
[yScaleMax]="1200">
</ngx-charts-line-chart>
</form>
</div>