I need to plot a XY graph but on the X-abscis there needs to come string of a date.
I tried already the VI that stands here but is don't find the solution.
In the picture you see the data that needs to come in the graph. "prijs" on the Y-abcis and "datum" on the X-abcis. The problem is that the array of "datums" is an array of string.
Hopefully you can give me a solution on this problem.
As you mentioned that both datums and prijs are array of strings,you need to convert them respectively to array of time stamps and array of doubles respectively.And also you need to set the 'displayformat' of X-scale in XY graphs properties to Absolute time with Y/M/D as below:
The conversion of datums string array to timestamp array is trickier part.I had copy pasted the block diagram where i had tested for 8 elements of datums and prijs each..you can use it for all data which you have.
My x abcis stand in the right format but i don't get my datums on my x abcis. In the picture you see what i have already now.
what's the point in parsing the very same strings a million times?
Can you attach your VI with some data?
What timestamp do you get after the ScanFromString function?
I don't now exactly haw many times i need te run the loop.
In attach you see the Vi.
The project is about requesting shares and their price. These prices has to come in a graph with on the x abcis the date and on the y abcis the prices.