## ChartFrame::SetWidthRatioToChart method


Gets or sets the width of frame in units of ratio of the chart area.

```cpp
void Aspose::Cells::Charts::ChartFrame::SetWidthRatioToChart(double value)
```

## Remarks


This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? WidthPixel = WidthRatioToChart * Chart.ChartObject.Width; 
## See Also

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