03-08-2006 12:52 PM
03-09-2006 12:11 AM - edited 03-09-2006 12:11 AM
Something like this?
Message Edited by Dynamik on 03-09-2006 12:12 AM
Message Edited by Dynamik on 03-09-2006 12:14 AM
03-09-2006 11:20 AM
03-09-2006 07:08 PM
03-09-2006 07:29 PM - edited 03-09-2006 07:29 PM
Hi Sarah, Fataneh,
I just made the background of the top chart transparent. I explained it before (follow link here). I had no clue you'd seen it Fataneh - no reply to first post.
It seemed like a pretty "clean" solution, but it's not what Fataneh wants - maybe there's a better way!
Cheers!
Message Edited by Dynamik on 03-09-2006 07:30 PM
03-10-2006 11:30 AM
Hi Dynamik and Sarah,
Thanx a lot for trying to help. Here's the reason why I don't want to overlay 2 graphs on top of each other with one being transparent. I need to have each 2 plots that fall on top of each other at the same scaling at run time (I need to use auto scaling). Because they belong to different charts, they scale differently. Is there a way to work around that? if so, the transparent solution could work. Thanx again.
Fataneh
03-10-2006 04:13 PM - edited 03-10-2006 04:13 PM
Message Edited by sarahk on 03-10-2006 04:17 PM
03-10-2006 05:19 PM
Sarah,
Thank you. I'll try that.
Fataneh
03-10-2006 05:53 PM
Ok I found a way to do this. It is not exactly straight forward but the attached VI and control show what you want. The secret is in customizing the graph and using the "Y Scale Index" property.
Follow these steps and you should be golden.
1. Create your stacked plot with the 16 plots. So you will have 16 tiny little plot areas... no worries.
2. Take a look at the attached code and see how you can select the active plot and then the Y Scale Index associated.
You at the moment have 16 plots and 16 Y scales. Simple change the Y scale index of the last 8 plots to be 0-7.
3. Try that and notice you now 16 plot areas 8 plots with 2 plots on it, and then 8 that are empty.
4. The last thing is to get rid of the 8 "blanks".
5. Select the last 8 plots and make their Y scales not visible.
6. Finally right click on the chart and select customize.
7. Select window>> Show Parts Window. In that new window you can find the last 8 plots, and set their hieght to 1, and change their location. I suggest moving them under the top plot.
8. At this point you have a lot of free space. Select one of the remaining plots and increase its height to what looks good for just one plot area. Then select the 8 that you want to show and you can use the "Resize Objects" ring in the tool bar to make them all the same size. Move them to where you want and bingo.
9. You should now have 8 visible plots, and 8 that are hidden. Save the control and replace the one on your Front Panel.
You should be done. Let me know if or where you get lost because I know this is kinda strange.
Evan
03-10-2006 05:58 PM