# ShowComponentLabels XML hint doesn't work for a DoubleVectorProperty

**URL:** https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393
**Category:** Development
**Created:** [August 7, 2018, 8:24am UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393 "2018-08-07T08:24:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/embeddedmz/32/142_2.png) [@embeddedmz](https://discourse.paraview.org/u/embeddedmz)
#### Post date: [August 7, 2018, 8:24am UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/1 "2018-08-07T08:24:24Z")

</div>

The title says it all. I put a ShowComponentLabels hint inside a DoubleVectorProperty with two ComponentLabel in the XML file describing my filter, but the columns headers are not showing in the property panel.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 7, 2018, 8:30am UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/2 "2018-08-07T08:30:35Z")

</div>

Can you share the xml please ?

---

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/embeddedmz/32/142_2.png) [@embeddedmz](https://discourse.paraview.org/u/embeddedmz)
#### Post date: [August 7, 2018, 8:39am UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/3 "2018-08-07T08:39:09Z")

</div>

Hello,

Here it is :  
[InterestZone.xml](https://discourse.paraview.org/uploads/default/original/1X/fdff49fa3904ad661be4f0a7e4c36ce2e51e835e.xml) (1.3 KB)

---

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/embeddedmz/32/142_2.png) [@embeddedmz](https://discourse.paraview.org/u/embeddedmz)
#### Post date: [August 14, 2018, 12:25pm UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/4 "2018-08-14T12:25:13Z")

</div>

So, any suggestions ?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 14, 2018, 2:10pm UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/5 "2018-08-14T14:10:27Z")

</div>

No problem in your xml. What are you seeing exactly ?

---

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/embeddedmz/32/142_2.png) [@embeddedmz](https://discourse.paraview.org/u/embeddedmz)
#### Post date: [August 14, 2018, 3:10pm UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/6 "2018-08-14T15:10:12Z")

</div>

Thank you for the reply, you see :

 ![no_headers](https://discourse.paraview.org/uploads/default/original/1X/2aebc6fdc2be5f4743b190da60f91a247bd59bb5.png) the columns don’t have a header (“From”/“To” defined as hints in the XML file).

I know that this method void pqDoubleVectorPropertyWidget::propertyDomainModified(vtkObject\* domainObject) is related to showing the labels (look at showLabels pointer) but I still didn’t understand the code.

Regards.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 23, 2018, 1:34pm UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/7 "2018-08-23T13:34:28Z")

</div>

This is working perfectly here. Feel free to create a small example dummy plugin that reproduce the issue.

---

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.paraview.org/user_avatar/discourse.paraview.org/embeddedmz/32/142_2.png) [@embeddedmz](https://discourse.paraview.org/u/embeddedmz)
#### Post date: [August 23, 2018, 2:00pm UTC](https://discourse.paraview.org/t/showcomponentlabels-xml-hint-doesnt-work-for-a-doublevectorproperty/393/8 "2018-08-23T14:00:32Z")

</div>

I am using Paraview version 5.4.1, maybe this issue has been corrected in the later versions.
