Hi PTC Community,
I'm currently facing an issue with the line chart in ThingWorx. Occasionally, the line chart fails to plot the last data point from the dataset. This happens inconsistently, and I haven't been able to identify a clear pattern or cause.
Here are a few details about the issue:
Solved! Go to Solution.
Hello @leekhil_kataray
I see that we have not received the solution for this post. Were you able to resolve this issue by yourself? If so, would you be comfortable posting the solution in the community and marking it as the accepted solution for the benefit of other community members?
If you are still struggling to find the solution, please let us know if you are comfortable opening a case. I would be happy to open the case on your behalf.
Regards,
Abhi
I have tried extending the X-axis by setting the maximum to the last data point plus one hour, but this still does not resolve the issue.
Additionally, I noticed that when I change the start date from X time to Y time while keeping the end date the same, the graph plots correctly when using Y time as the start date.
Please check the point on the left side on the chart where I have placed the hover. In the tooltip, you can see a point at 19:33:09 with a value of 0.
I have not set any limit to Y axis it has its default value 000.00
When you say "The issue doesn't occur every time but happens sporadically", do you mean it happens sporadically with the same dataset or with different datasets? Does resizing have an effect? Also, please always post your TWX version, it can make a difference.
Hey Rocko,
Apologies for the delayed response,
My current TWX version is 9.3.9
1. do you mean it happens sporadically with the same dataset or with different datasets ? it happens sporadically with the different datasets.
2. Does resizing have an effect ? - No resizing does not effect the chart.
Sporadic errors are the hardest to fix. You need to find a way to reproduce the error before you can log a ticket. Try to find out if when you reload the widget with the same data, is the point still missing? Or if it happens with any browser. You can also check browser console and Show/Hide log for relevant entries. Can you create a specific data set that makes the issue occur? Things like that.
I reviewed the response in the console and confirmed that the last data point is present in the service response, but it is not appearing on the graph. I tested this across two different browsers, and the issue remains. I’ll work on creating a dataset where this issue persists, even after refreshing the widget.
Hello @leekhil_kataray
I see that we have not received the solution for this post. Were you able to resolve this issue by yourself? If so, would you be comfortable posting the solution in the community and marking it as the accepted solution for the benefit of other community members?
If you are still struggling to find the solution, please let us know if you are comfortable opening a case. I would be happy to open the case on your behalf.
Regards,
Abhi
