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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Hide Line Chart Zoom Range

pshashipreetham
17-Peridot

Hide Line Chart Zoom Range

Hi,

 

I am trying to hide the Line Chart Zoom Range:

pshashipreetham_0-1716962957575.png

 

I have followed the following CSS from the Article:

Article - CS377455 - Applying Custom CSS Styling to Web Component Widgets in ThingWorx Platform 9.3.4+ (ptc.com)

 

CSS:

 

@supports (ptcs-style-unit: "PTCS-CHART-ZOOM-RANGE") 
{
    [part = range-picker]
    {
        display: none !important;
        height : 0px;
        padding : 0px !important;
    }
}

 


But, this CSS not working, can someone please help.

Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
ACCEPTED SOLUTION

Accepted Solutions

Hi @Tone ,

 

Thanks for the Response; for a use case, I want those properties to be enabled but not show on the Dashboard.

 

Thanks for the CSS it worked successfully:

/*Zoom Range Picker*/
@supports (ptcs-style-unit: "PTCS-CHART-ZOOM") {
    [part=range-picker] {
  		 display: none !important;
    }
}
Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

View solution in original post

2 REPLIES 2
Tone
5-Regular Member
(To:pshashipreetham)

Hi,

 

try the following CSS:

/*Zoom Range Picker*/
@supports (ptcs-style-unit: "PTCS-CHART-ZOOM") {
    [part=range-picker] {
  		 display: none !important;
    }
}

The zoom range of the chart is also adjustable in the properties:

 

Screenshot 2024-05-29 at 16.11.15.png

 

Hi @Tone ,

 

Thanks for the Response; for a use case, I want those properties to be enabled but not show on the Dashboard.

 

Thanks for the CSS it worked successfully:

/*Zoom Range Picker*/
@supports (ptcs-style-unit: "PTCS-CHART-ZOOM") {
    [part=range-picker] {
  		 display: none !important;
    }
}
Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Announcements


Top Tags