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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

TWX Line Chart Property (NumberOfXLabels) Custom CSS

GG_10197243
6-Contributor

TWX Line Chart Property (NumberOfXLabels) Custom CSS

As per the property of the Line chart (ptcs-chartline) named “NumberOfXLabels” there is an issue with the Date Format which is used in the property named “XAxisDateFormatToken”. As It secures Date format only on this format (YY-MM-DD) but we need it along with the Time segment like (YY-MM-DD HH:MM:SS).

 

 

GG_10197243_3-1661517820553.png

 

 

Using the format (YY-MM-DD HH:MM:SS) or (YYYY-MM-DD) as per image above, the X-labels are trimming in the way shown below and are stretching to the left.

 

 

GG_10197243_4-1661517820554.png

 

 

We want this format (YY-MM-DD HH:MM:SS). 

 

Is it possible through Custom CSS?

Through Custom CSS, ptcs-chart-axis with part "xaxis" is not accessible which is the parent element of the ptcs label.

 

How can we access this ptcs label shown in the image below to align and adjust it to the right?

GG_10197243_5-1661518042244.png

@PEHOWE @slangley 

Using TWX version 9.3.3

Thanks,
Geetansh

1 REPLY 1
slangley
23-Emerald II
(To:GG_10197243)

Hi @GG_10197243.

 

Would it be possible for you to provide your mashup so we can play around with it? 

 

Regards.

 

--Sharon

Top Tags