cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

LineAreaChart fill-opacity

M4RC
14-Alexandrite

LineAreaChart fill-opacity

Hi folks,

I have a problem with my 'Line Area Chart' in TWX 9.5.3.

 

My selected colors of the 'Style Properties' are overwritten by 'fill-opacity: 0.5' from the element ':host([stacked]) [part~=“area”]'.

The “style properties” of the series all have an opacity of 100% so that the colors are fully displayed. However, this has no influence on the pale color displayed.

 

How can I overwrite this wrong value with 'fill-opacity: 1' with css?

 

Elements_DevTools.png

 

Best regards

Marc

ACCEPTED SOLUTION

Accepted Solutions
M4RC
14-Alexandrite
(To:PEHOWE)

Hello @PEHOWE,

thank you for your reply.

 

I contacted PTC support after some time, as the question was asked four months ago. They were able to help me with the following snipped:

@supports (ptcs-style-unit: "PTCS-CHART-CORE-LINE"){
    :host([stacked]) [part~="area"] {
  		fill-opacity: 1 !important;
	}
}

 

Best regards

Marc

View solution in original post

2 REPLIES 2
PEHOWE
17-Peridot
(To:M4RC)

Hello @M4RC ,
Do you happen to have a simple test case you can export as XML and attach to the Community Post?
Have you tried to edit the desired values in the Developer Tools? Did that work?
Regards,
Pehowe

M4RC
14-Alexandrite
(To:PEHOWE)

Hello @PEHOWE,

thank you for your reply.

 

I contacted PTC support after some time, as the question was asked four months ago. They were able to help me with the following snipped:

@supports (ptcs-style-unit: "PTCS-CHART-CORE-LINE"){
    :host([stacked]) [part~="area"] {
  		fill-opacity: 1 !important;
	}
}

 

Best regards

Marc

Announcements


Top Tags