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


## SetXRatioToChart function

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

```go

func (instance *DisplayUnitLabel) SetXRatioToChart(value float64)  error

```

## Remarks


## See Also

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