---
title: "Aspose::Cells::Charts::Marker::SetForegroundColor method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.charts/marker/setforegroundcolor/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Charts::Marker::SetForegroundColor method. Represents the marker foreground color in a line chart, scatter chart, or radar chart in C++."
---

## Marker::SetForegroundColor method


Represents the marker foreground color in a line chart, scatter chart, or radar chart.

```cpp
void Aspose::Cells::Charts::Marker::SetForegroundColor(const Aspose::Cells::Color &value)
```

## See Also

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