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

## Title::SetYRatioToChart method


Gets or sets the y coordinate of the upper left corner in units of Fraction of the chart area. Y In Pixels = YRatioToChart * Chart.ChartObject.Width;.

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

## See Also

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