The charts can not be viewed in watchlist
-
Hi
I used the watch list to build line charts. I selected wanted data points and built the chart in watch list. But, the charts can not be shown on the watch list. Only some selected data points are shown. Please see the attachment for this problem. ! ![alt text]( image url)
-
Try setting CSS height and fixed width.
If you have already done so you probably have not set the parameters well.
I suggest you go to the examples -> Chart -> Advanced Chart section and visit API Documentation for <ma-serial-chart> & <ma-point-values>.
Ciao a presto ;) -
@tangyiping You say only some are visible but the picture you attached doesn't show any visible points? Can you discern what might be different about the points that are visible? Are they a different data type, different data source, what is there chart color set to etc.. You aren't giving me much to go on unfortunately.
Please read https://help.infiniteautomation.com/reporting-bugs/ before reporting any bugs.
-
@pierjsap He's talking about the old /watch_list.shtm page. But, it's good advice when making your own charts from watchlists in the new UI!
Hi tangyiping,
I would expect that's caused by an NaN or Infinite value in one of the point's series. Do most of them chart individually if you uncheck the other boxes adding those points to the chart? Or, perhaps easier, if you download the data using the green download arrow after the chart has not rendered, do you find NaN and Infinity in the data set?
Otherwise I would wonder if there was a message in your logs about what could have failed. But, it looks like the chart generated without showing any values, as in these images where I have a script doing,
p.set(Number.POSITIVE_INFINITY); RuntimeManager.sleep(5000); p.set(Number.NEGATIVE_INFINITY); RuntimeManager.sleep(5000); p.set(Number.NaN);
I produced these charts: