Skip to main content
1-Visitor
February 20, 2020
Solved

label angle in custom widget extension isn't working in custom chart widget

  • February 20, 2020
  • 12 replies
  • 3355 views

Hi,

Thingworx version (8.4.4), chartwidget 3.0.3

1- I'd like to change the labelangle but it's not working for me

mnaeem_1-1582199936494.png

 

mnaeem_2-1582200134630.png

 

2- Another thing in view mashup instead of showing mashup name as title I'm seeing the complete address, as you can see in the second picture.

 

Thank You!

Naeem

Best answer by cmorfin

@mnaeem 

 

I am not sure what is happening for you, it does work for me.

I would suggest you use strictly this code:

 

.nv-x .tick text{
transform: rotate(-45deg);
text-anchor: end !important;
}

 

Also you may need to untick the linting checkbox in Custom CSS editor if you have a warning that appears - see https://www.ptc.com/en/support/article/CS284203

 

Kind regards

Christophe

 

12 replies

raluca_edu
17-Peridot
February 21, 2020

Hi,

 

I have tested bar chart and I could change label angle.

Try to clear cache of the browser.

In a new mashup, if you create a bar chart, can you change label angle?

 

For the second issue, if you change the mashup name then only the mashup parameter from the link will change, not all link.

 

Thanks,

Raluca Edu

mnaeem1-VisitorAuthor
1-Visitor
February 21, 2020

If I select DataDisplay = Show Values, don't see the effect of label angle

mnaeem_2-1582297833378.png

Instead if DataDisplay = Hover, then able to see the effect of labelangle

mnaeem_3-1582297894148.png

For second if I use the chart extension widget in the mashup, then title of the page is the complete link as follows

mnaeem_1-1582297641980.png

instead if the mashup is without bar chart extension widget, it's fine

mnaeem_0-1582297600513.png

 

19-Tanzanite
February 24, 2020

Hi @mnaeem 

 

 For your second issue it seems that is an issue coming form the chart extension, see https://www.ptc.com/en/support/article/CS319558

 

Kind regards

Christophe