I'm currently working on creating a table that includes both textual data and graphical representation. The issue I am facing is that the first header of the table contains a large empty space, as shown in the image below:
https://i.sstatic.net/IeqER.png
This is a snippet of my HTML code:
<table id="patient-table">
<th>
<table id="data-table">
<tr>...</tr>
</table>
</th>
<th>
<ngx-charts-polar-chart [view]="view" [scheme]="colorScheme" [results]="patientService.patientLevel3.latestReading" [gradient]="gradient"
[xAxis]="showXAxis" [yAxis]="showYAxis" [legend]="showLegend" legendTitle="" [showXAxisLabel]="showXAxisLabel"
[showYAxisLabel]="showYAxisLabel" [xAxisLabel]="xAxisLabel" [yAxisLabel]="yAxisLabel" [autoScale]="autoScale">
</ngx-charts-polar-chart>
</th>
</table>
Moreover, here's a glimpse into the CSS properties I've defined:
#data-table{
border-collapse: collapse;
font-size: 14px;
}
#data-table th, tr, td{
border: 1px solid black;
}
#patient-table{
clear: both;
}
How can I adjust the positioning of the table within its cell to eliminate that excessive empty space?