Reference > Active Charts > GetHotspotInfo Method

PageMap.GetHotspotInfo Method

Recover hotspot details given hotspot handle.

public HotspotInfo GetHotspotInfo(
    int hotspot
);

Example

int hix = pm.FindHotspot(250,300);   // Main heading
HotspotInfo hi = pm.GetHotspotInfo(hix);

System.Console.WriteLine("Heading is found at " + hi.ToString());

This might be required if the application wanted to ‘illuminate targets’ as the mouse was tracked over a chart. For example you could circle a data-point if the mouse was over its hotzone, or draw a bright edge over the potentially-selected bar on a barchart.

See also ...

HotspotInfo Struct | PageMap Class – Introduction | FindPoints Method | PageMap Members


Send comments on this topic
© Dyalog Ltd 2013