Skip to main content
4-Participant
March 17, 2023
Solved

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

  • March 17, 2023
  • 2 replies
  • 1264 views

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?

 

Best answer by PaiChung

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
March 20, 2023

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

 

Jam_Kirko4-ParticipantAuthor
4-Participant
June 13, 2023

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.