DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Hilighting Area On Graph

I have been asked to plot some graphs, and to hi-lite certain areas (say between x=10 to x=30, and Y = 0 to Y = 10), ideally with a shaded/hatched rectangle. Is there a way to plot a shape on top of a graph to hilight a certain area.Ideally from VBScript as the ranges will differ dependent on the channel.

 

I am currently using Diadem 8, (supporting a legacy system to which this function needs to be added), but I also have Diadem 2010 which I can see does provide a GraphObject of type FreeFrame, which looks ideal, but if I can use Diadem 8, I won't have to port lots of associated legacy code!.

 

With Diadem 2012, I have found that the positioning (for the FreeFrame object) all appears to be as percentages relative to the page. Is it possible to specify positions using the X,Y co-ordinates of the graph over which I wish to plot?

 

Onkar

0 Kudos
Message 1 of 2
(5,485 Views)

Hi Onkar,

 

There is no dedicated feature for this in DIAdem 8.x.  The only idea I have for that version is to create new X, Y1, Y2 channels and fill them the right values in order to plot a "differential bar" in the right place and of the right size.  If you have the differential bar(s) listed first in the graph configuration, every other curve will be plotted "on top" of it, so that it will function as if it was in the background.

 

DIAdem 2010 is exactly the version that the "background segments" were introduced for both VIEW and REPORT, and this is what I would recommend for DIAdem 2010 and later.  Look for the following two examples in DIAdem 2010 and later:

 

Background Segments in DIAdem REPORT

Background Segments in DIAdem VIEW

 

Brad Turpin

DIadem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 2
(5,472 Views)