This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

PVPC trend graph in visu
#21
This means that your data is not a plain array of numbers. If each array item is an object containing value field then the data conversion should be like this:
Code:
for (var i = 0; i < data.length; i++) {
  data[ i ] = data[ i ].value / 1000;
}
Reply
#22
Now it works.

I tried something similar but using data.value/1000, but of course it didn't work.
Thank you very much.

PS. I will put a summary in the thread that I opened from the PVPC.
Reply
#23
Hello

Now I would like to play a bit with the aspect of the graph.

For example, changing the background color, leaving only the line of data points and removing the lower red area of the curve, the color of the labels, etc.

How can I do it?

Thank you
Reply


Forum Jump: