Download QCChart2D CF Charting Library for the .Net Compact Framework
Transcript
Data ToolTips 345 ' Precalculates the text bounding box so that the size is ' known before it is drawn stockpanel.PreCalcTextBoundingBox(g2) Dim boundingbox As Rectangle2D = stockpanel.GetTextBox() ' Reposition tooltip text box if top of box near top of graph window ' You can do the same thing for all four sides of the graph window If mousepos.GetY() - boundingbox.GetHeight() < 1 Then mousepos.SetLocation(mousepos.GetX(), mousepos.GetY() + _ boundingbox.GetHeight()) stockpanel.SetLocation(mousepos, ChartObj.DEV_POS) End If ' Draws the tooltip text panel to the chart graphics context stockpanel.Draw(GetToolTipGraphics()) End If End Sub 'OnMouseDown End Class 'CustomToolTip
Related documents
QCChart2D User Manual - Quinn
QCChart3D 3D Charting Tools for .Net - Quinn
QCChart2D for WPF User Manual - Quinn
QCRTGraph CF Real-Time Graphics Tools for the - Quinn
QCRTGraph for WPF User Manual - Quinn
Real-Time Graphics Tools for Silverlight User Manual
QCSPCChart SPC Control Chart Tools for .Net CF - Quinn
QCSPCChart SPC Control Chart Tools for - Quinn
Real-Time Graphics Tools for .Net Class Summary
tymoraPRO traderSCAN User`s Manual
User Manual - Quinn