## ShapeCollection::AddLabelInChart method


Adds a label to the chart.

```cpp
Label Aspose::Cells::Drawing::ShapeCollection::AddLabelInChart(int32_t top, int32_t left, int32_t height, int32_t width)
```


| Parameter | Type | Description |
| --- | --- | --- |
| top | int32_t | Represents the vertical offset of label from the upper left corner in units of 1/4000 of the chart area. |
| left | int32_t | Represents the vertical offset of label from the upper left corner in units of 1/4000 of the chart area. |
| height | int32_t | Represents the height of label, in units of 1/4000 of the chart area. |
| width | int32_t | Represents the width of label, in units of 1/4000 of the chart area. |

## ReturnValue

A new [Label](../../label/) object.

## See Also

* Class [Label](../../label/)
* Class [Vector](../../../aspose.cells/vector/)
* Class [ShapeCollection](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
