Roopesh Posted May 4, 2015 Report Share Posted May 4, 2015 Hi All, I need a waveform chart with the pattern fill whereas LabVIEW has only solid fill. For example in excel graph pattern fill image attached. Please help me. Regards, Roopesh Quote Link to comment
hooovahh Posted May 4, 2015 Report Share Posted May 4, 2015 Okay well this is possible but with lots of work depending on how you want it to work. The first method of doing this I can think of, is to generate your graph like normal with a fill to 0. Then using scripting get the image of the graph. Then use the graph color as a mask on a template image, which has you pattern possibly repeated. Then when you go and display the image, over top of the graph. So what the user really sees is an image on top of a graph. I think this could give you the desired effect, but there would be some work in repeating the pattern for the size of the image, some scripting, and making sure the picture control is on top of the graph. You could probably do this easily using the fit to pane on both controls with the picture control on top. Quote Link to comment
Popular Post shoneill Posted May 6, 2015 Popular Post Report Share Posted May 6, 2015 Create the background image you require (with pattern) and write it to Plot Image.Back (or middle, depending on the effects you require. Then set the graph to fill to infinity with a white fill colour (or whatever colour your non-filled space should be). 3 Quote Link to comment
hooovahh Posted May 6, 2015 Report Share Posted May 6, 2015 Create the background image you require (with pattern) and write it to Plot Image.Back (or middle, depending on the effects you require. Then set the graph to fill to infinity with a white fill colour (or whatever colour your non-filled space should be). Oh that is a much better solution, go with that. Quote Link to comment
Neil Pate Posted May 6, 2015 Report Share Posted May 6, 2015 Create the background image you require (with pattern) and write it to Plot Image.Back (or middle, depending on the effects you require. Then set the graph to fill to infinity with a white fill colour (or whatever colour your non-filled space should be). That is about as cunning as a fox who's just been appointed Professor of Cunning at Oxford University. Quote Link to comment
shoneill Posted May 7, 2015 Report Share Posted May 7, 2015 Blackadder references always welcome. I need to start my next suggestion on improving our code with "I have a plan....." Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.