---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/DataTable
---

# DataTable

## Overview

`DataTable` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IDataTable`.

Represents data table properties.

Properties: `as_i_chart_component`, `as_i_presentation_component`, `as_i_slide_component`, `chart`, `has_border_horizontal`, `has_border_outline`, and 5 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `has_border_horizontal` | `bool` | Read/Write | True if the chart data table has horizontal cell borders. |
| `has_border_vertical` | `bool` | Read/Write | True if the chart data table has vertical cell borders. |
| `has_border_outline` | `bool` | Read/Write | True if the chart data table has outline borders. |
| `show_legend_key` | `bool` | Read/Write | True if the data label legend key is visible. |
| `chart` | `` | Read | Returns chart. |
| `text_format` | `IChartTextFormat` | Read | Returns chart text format. |
| `as_i_chart_component` | `IChartComponent` | Read | Returns IChartComponent interface. |
| `as_i_slide_component` | `ISlideComponent` | Read | Gets the as i slide component. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Gets the as i presentation component. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)