Skip to main content
Jan 6, 2023 4:48 PM UTC

So,

Thanks, to  @Rajkumar_20673, after a couple of tries following CSS worked:

/* ------------------------------ Legend width---------------------------*/
ptcs-chart-line::part(legend) {
width: 110px !important;
padding: 2px !important;
margin: 0px !important;
}

 
Thanks,

4 replies

Jan 4, 2023 4:56 PM UTC

Not sure about hiding the scroll bar. But try to add custom CSS to modify the scroll bar size and color.

Jan 5, 2023 7:07 AM UTC

Hi @Sathishkumar_C ,

I tried it, but that will not affect Legend's Scroll bar.

Thanks

Jan 6, 2023 6:18 AM UTC

Tried in Thingworx 9.3.4, custom CSS not working on Legend's Scroll bar.

It's seems, Thingworx 9.x widgets are designed with web components. Scroll bar CSS is not working on web components widgets. 

pshashipreethamAuthorAnswer
Jan 6, 2023 4:48 PM UTC

So,

Thanks, to  @Rajkumar_20673, after a couple of tries following CSS worked:

/* ------------------------------ Legend width---------------------------*/
ptcs-chart-line::part(legend) {
width: 110px !important;
padding: 2px !important;
margin: 0px !important;
}

 
Thanks,