# Charts: Change thickness of marker

**URL:** https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884
**Category:** Support
**Created:** [October 14, 2021, 11:32am UTC](https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884 "2021-10-14T11:32:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nicfel](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nicfel/32/3639_2.png) [@nicfel](https://discourse.vtk.org/u/nicfel)
#### Post date: [October 14, 2021, 11:32am UTC](https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884/1 "2021-10-14T11:32:08Z")

</div>

Hello everyone!

I have a line plot where I do selections. I was able to change the width and color of the line. I would like to do the same with the selections on the line plot. Right now the selection is a very thin plus sign. I would like to increase the thickness of the lines of the plus.

I tried this:

```auto
vtkSmartPointer<vtkPlotLine> linePlot =vtkPlotLine::SafeDownCast(chart->AddPlot(vtkChart::LINE));
linePlot->SetInputData(mTable, 0, 1); // works
linePlot->SetColor(1, 0, 87, 255); // works
linePlot->SetWidth(2.0); // works
linePlot->SetMarkerSize(10); // works but does not have the desired effect
linePlot->GetSelectionPen()->SetWidth(100); // no effect

```

Setting the marker size to something bigger works but this only affects the length of the “arms” of the plus sign but not the thickness of the “arms”.

Any help is appreciated. Thank you!

---

<div class="post-metadata">

### Author: ![scienceasdf](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/ecc23a/32.png) [@scienceasdf](https://discourse.vtk.org/u/scienceasdf)
#### Post date: [June 22, 2024, 3:55pm UTC](https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884/2 "2024-06-22T15:55:53Z")

</div>

The same encountered. Bro how did you solve this issue?

---

<div class="post-metadata">

### Author: ![nicfel](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nicfel/32/3639_2.png) [@nicfel](https://discourse.vtk.org/u/nicfel)
#### Post date: [June 25, 2024, 7:28am UTC](https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884/3 "2024-06-25T07:28:47Z")

</div>

I was **not** able to solve it until the end of my project but I have not tried anymore since the project was finished. This was more than 3 years ago. So this topic is still unsolved.
