Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

No tooltip shown for DigitalWaveformPlot

I am using a DigitalWaveformGraph to show some data. I am creating the DigitalWaveformPlots programmatically. I have set the property ToolTipsEnabled to true for each DigitalWaveformPlot, but I am not seeing a tooltip appear when I hover over the plot. What am I missing? Do I have to set some other property in order for tooltips to appear? 

I am using the DigitalWaveformGraph inside of a UserControl, I am not sure whether that makes a difference or not. I have not found any information on using or customizing tooltips in a DigitalWaveformGraph. 

 

0 Kudos
Message 1 of 4
(4,327 Views)

Perhaps you could take a look at format strings and the ToolTipXFormat property:

 

http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/usingninetformatstringswinfor...

http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/1cfda64e/

 

I also saw this "Customizing Tooltips" example, but it was for older versions of Measurement Studio and Visual Studio:

https://decibel.ni.com/content/docs/DOC-6353

 

 

Michael Keane
National Instruments
0 Kudos
Message 2 of 4
(4,303 Views)

I looked at how examples of how to customize tooltips for XYGraphs, but DigitalWaveformGraph does not have a similar interface. There is no ToolTipXFormat or anything similar. I was hoping someone could show me the equivalent for this type of graph. 

 

I did discover that tooltips are shown but only if I zoom in on the graph. My graph has 1000 points and a size of 1625 pixels. No tooltips appear until I zoom in on < 100 points. 

0 Kudos
Message 3 of 4
(4,290 Views)

Interesting - perhaps there is a resolution limitation for which the mouse can detect different points on the graph.  I haven't been able to find too much else online about the DigitalWaveformPlot, but I'll make sure to post here if I find anything interesting.  Good to hear that the tooltips are actually appearing, though.

Michael Keane
National Instruments
0 Kudos
Message 4 of 4
(4,274 Views)