# Spacing
Spacing refers to the space between the data items and the datasets.
# Add Data Spacing
When using a single datasets table, sometimes we want to add space between the items. Use the .data-spacing-* class to add spacing to the data. Replace the * in the class name, with any number 1-20. For example, to display 5 pixels spacing use the .data-spacing-5 class.
<table class="charts-css column data-spacing-5">
...
</table>
1
2
3
2
3
Note that this adds padding to <tr> elements.
Open in:
# Add Dataset Spacing
When using multiple datasets, we can use the .datasets-spacing-* class to add spacing between datasets. Replace the * in the class name, with any number 1-20. For example, to display 4 pixels spacing use the .datasets-spacing-4 class.
<table class="charts-css column multiple data-spacing-20 datasets-spacing-4">
...
</table>
1
2
3
2
3
Note that this adds margins to <td> elements.
Open in:
← Axes Orientation →