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

# DataLabelFormat

## Overview

`DataLabelFormat` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IDataLabelFormat`.

Represents formatting options for DataLabel.

Properties: `as_i_chart_component`, `as_i_presentation_component`, `as_i_slide_component`, `chart`, `format`, `is_number_format_linked_to_source`, and 14 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `show_legend_key` | `bool` | Read/Write | True if the data label legend key is visible. |
| `show_value` | `bool` | Read/Write | True displays the value. |
| `show_category_name` | `bool` | Read/Write | True displays the category name. |
| `show_series_name` | `bool` | Read/Write | True displays the series name. |
| `show_percentage` | `bool` | Read/Write | True displays the percentage value. |
| `show_bubble_size` | `bool` | Read/Write | True displays the bubble size. |
| `show_leader_lines` | `bool` | Read/Write | True displays leader lines. |
| `position` | `LegendDataLabelPosition` | Read/Write | Position of the data label. |
| `number_format` | `str` | Read/Write | Format string for DataLabels. |
| `is_number_format_linked_to_source` | `bool` | Read/Write | Whether number format is linked to the data source. |
| `separator` | `str` | Read/Write | Separator used between label fields. |
| `format` | `'IFormat'` | Read | Fill, line, and effect formatting of the label area. |
| `text_format` | `'IChartTextFormat'` | Read | Chart text format. |
| `show_label_value_from_cell` | `bool` | Read/Write | True displays label text sourced from workbook cell(s). |
| `as_i_chart_component` | `IChartComponent` | Read | Returns IChartComponent interface. |
| `chart` | `IChart` | Read | Gets the chart. |
| `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/)