04-17-2015 12:23 PM
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.
04-20-2015 06:38 PM
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/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
04-21-2015 03:48 PM
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.
04-22-2015 06:03 PM
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.