02-01-2013 10:43 AM
Is there a way to have a stacked bar plot compiled and displayed in the mixed signal graph indicator from multiple plots as inputs?
02-04-2013 12:09 PM
Hello,
This is Doug from applications engineering at National Instruments. I've attached a screenshot of a mixed signal graph with a stacked bar graph. Please let me know if this was what you were looking for. If you have any other questions, let me know. Thanks
Doug W
02-08-2013 12:19 PM
Doug, Thanks but I need to do it programmatically, thus specifying the properties to do this. Do you have an example of how to stack y values from a 2D array for multple series with properties shown?
02-08-2013 01:07 PM
Here is mydata and a mixed sig graph. I just want to stack the bars when a 1 occurs in the data. the array is a 2d one that has the series in rows and the time events for the x axis in the columns
02-08-2013 03:11 PM - edited 02-08-2013 03:12 PM
Something like this?
02-08-2013 08:15 PM
I think we are getting closer but I do not see what I would expect in a stacked bar graph in excel. Please take a look at the data in the array in column 525. It has more than just qty 2 of the value 1 in many of its cells. Hence I would expect to see a spike greater than 2 which is what I see on the chart that you provided. I did the task in excel and it was easy to do and have attached it for your reference. It is the same data that I provided above in the prior vi.
02-09-2013 04:09 PM
Oh, oops. I thought this was a property issue, not a math one. Doesn't excuse my math, though 🙂
How about this:
10-05-2016 08:28 PM
Doug,
I am trying to create a stacked bar graph like the one in your post. Could you please send me the code to do that?
Thanks,
Steve D.
10-06-2016 10:03 AM
Hi Steve,
Since this post is from 3 years ago, I do not think that Doug is monitoring this anymore and likely does not have the code saved. You are welcome to create a new post, which might get more traffic.