---
title: "GetXRatioToChart Method"
url: "https://reference.aspose.com/cells/go-cpp/datalabels/getxratiotochart/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "GetXRatioToChart method. Encapsulates the function that represents getxratiotochart in Go."
---


## GetXRatioToChart function

Gets or sets the x coordinate of the upper left corner in units of ratio of the chart area.

```go

func (instance *DataLabels) GetXRatioToChart()  (float64,  error) 

```

## Remarks


## See Also

* Class [DataLabels](../)
* Library [Aspose.Cells for Go](../../)
