正如您在图片上看到的,线条和每边的单元格边框之间有一些空间。是否可以删除此空间以减小单元格的大小?
HTML:
<td>
<ngx-charts-line-chart [view]="view" [scheme]="colorScheme" [results]="patient.vitalSigns[0]" [gradient]="gradient"
[xAxis]="showXAxis" [yAxis]="showYAxis" [legend]="showLegend" [showXAxisLabel]="showXAxisLabel" [showYAxisLabel]="showYAxisLabel"
[xAxisLabel]="xAxisLabel" [yAxisLabel]="yAxisLabel" [autoScale]="autoScale">
</ngx-charts-line-chart>
</td>
.ts:
view: any[] = [150, 35];
colorScheme = {
domain: ['#3f51b5']
}
gradient = false;
showXAxis = false;
showYAxis = false;
showLegend = false;
showXAxisLabel = false;
xAxisLabel = 'Time';
showYAxisLabel = false;
yAxisLabel = 'Value';
autoScale = true;