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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to setting line graph

DR_10558933
5-Regular Member

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 

 

1 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

DR_10558933
5-Regular Member
(To:Velkumar)

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

DR_10558933
5-Regular Member
(To:Velkumar)

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

Top Tags