Skip to main content
4-Participant
Mar 17, 2023 12:37 PM UTC
Solved

Is it possible to format the reference lines of a line chart?

Hi all,

 

I've been working with the Reference Lines feature on the Line Charts recently and while I can label them, I was wondering if it's possible to format and apply different styles to each line to help tell them apart at a glance?

 

In my use case, the label's being used to show the value that the line is plotted at, so it'd be helpful if I could apply different colours, etc. to each line to give a little more info to them. 

 

I can't see anything in the style properties, but not sure if there's any CSS wizardry or something I'm missing that might help?

 

PaiChungAnswer
22-Sapphire I
Mar 20, 2023 1:21 PM UTC

Not sure if this helps or not, CSS not my forte and I'm not sure about what elements you can or can not change.

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Theming/ApplyingCustomCSSToWebComponents.html

 

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
Mar 20, 2023 1:21 PM UTC

Not sure if this helps or not, CSS not my forte and I'm not sure about what elements you can or can not change.

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Theming/ApplyingCustomCSSToWebComponents.html

 

Translate
Jam_Kirko4-ParticipantAuthor
4-Participant
Jun 13, 2023 9:56 AM UTC

Sorry for the very, very late reply, but thanks for the help! Got pulled about for a bit and this got lost, but that link has been very helpful in both sorting this and a few other things.

Translate