---
title: "Aspose::Cells::Charts::Title::SetXRatioToChart method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.charts/title/setxratiotochart/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Charts::Title::SetXRatioToChart method. Gets or sets the x coordinate of the upper left corner in units of Fraction of the chart area. X In Pixels = XRatioToChart * Chart.ChartObject.Width; in C++."
---

## Title::SetXRatioToChart method


Gets or sets the x coordinate of the upper left corner in units of Fraction of the chart area. X In Pixels = XRatioToChart * Chart.ChartObject.Width;.

```cpp
void Aspose::Cells::Charts::Title::SetXRatioToChart(double value)
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [Title](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
