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

How to setting line graph

DR_10558933
8-Gravel

How to setting line graph

Now i got line chart like picture below but i want to modify something

1.X-Axis that is a time didn't show full date

2.On the right hand side, i want to edit sequence that L.33 is first one and then L.34 , L.35 respectively.

 

Thank you

Screenshot 2023-10-09 140307.png 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi @DR_10558933 

 

For Line Chart, you can try changing XAxisType to Date/Time and set XAxisDateFormatToken. Also, set HorizontalAxisLabelsRotation to 0. 

 

In Widget Style Properties, reduce Xaxis Tick Label font size  to fit into the chart

Velkumar_5-1696837857595.png

 

 

For sequence, you can set NumberOfSeries to 7. Select DataField based on your sequence 

Velkumar_2-1696837542370.png

 

/VR

View solution in original post

5 REPLIES 5

Hi @DR_10558933 

 

For Line Chart, you can try changing XAxisType to Date/Time and set XAxisDateFormatToken. Also, set HorizontalAxisLabelsRotation to 0. 

 

In Widget Style Properties, reduce Xaxis Tick Label font size  to fit into the chart

Velkumar_5-1696837857595.png

 

 

For sequence, you can set NumberOfSeries to 7. Select DataField based on your sequence 

Velkumar_2-1696837542370.png

 

/VR

another question, can i change format when i put the mouse to some point at the line chart ?Untitled.jpg 

HI @DR_10558933 

 

For custom tooltip please refer here - Creating Custom Chart Tooltips (ptc.com)

 

/VR

How i can custom the ${label} to get short detail and disable value at graph that show upper pointer

Hi @DR_10558933 

 

I don't think we can customize label value in Mashup Runtime.

 

If you want a custom label, you can add a new field with a custom value and update the tooltip with Template Literals

 

To display custom field as Tooltip

 

${Data:<Infotable-field>}

 

 

Article -

Article - CS369558 - Using Custom Tooltips in Line Chart in ThingWorx Platform (ptc.com) 

Article - CS381734 - The tooltip for the Line Chart Widget does not honor the date format of the x-axis label in ThingWorx (ptc.com)

 

The article says that the issue was fixed in 9.3.4 but it is still not working

 

/VR

Announcements


Top Tags