Have you already taken a look at the examples that ship with LabVIEW? Use the search term "graph" or "graphs" and there will be lots of matches.
I have X and Y values to be ploted on a graph.
X-axis --dates and time
dates are not regular. For example i dont have values for sundays or any holidays and so i dont want those days to be ploted in my graph.
the attached VI contains such data where i dont want the days between 04/01/12 to 04/04/12(MM/DD/YY) to be ploted in the graph. (i want them to be excluded from the graph). so please help me solving this issue.
You would need to filter the data in the for-loop. Use a shift register (or Feedback Node if you prefer that) to build up your array of values that you will be sending to the graph. Please review the examples that ship with LabVIEW and the LabVIEW Help on how to use shift registers and feedback nodes.
Is this data being constantly updated? Don't quite understand why you have the stuff inside the loop, so it's always creating the array with each loop iteration, just burning away CPU cycles doing the same exact thing over and over and over again.
P.S. You do not need the Build Array at the end, since you have only one plot.