---
title: "Aspose::Cells::Charts::ChartPoint::GetOnCategoryAxisPointYPx method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.charts/chartpoint/getoncategoryaxispointypx/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Charts::ChartPoint::GetOnCategoryAxisPointYPx method. Gets y-coordinate of the point on category axis after calling the Chart.Calculate() method. Only applies to Area chart in C++."
---

## ChartPoint::GetOnCategoryAxisPointYPx method


Gets y-coordinate of the point on category axis after calling the [Chart.Calculate()](../../chart/calculate/) method. Only applies to Area chart.

```cpp
float Aspose::Cells::Charts::ChartPoint::GetOnCategoryAxisPointYPx(int32_t index)
```

## Remarks


Area 2D chart: index is 0. Area 3D chart: index is 0 or 1. 
## See Also

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