AddTooltips     Procedure (Sub)

Public Sub AddTooltips(BarTag$())

Add a custom tooltip text for each graph element, that will be displayed when the mouse is hovered over the graph image. AddFunction or AddDataArray. See Demo2 as an example.

ParameterTypeDescription

BarTag$()

Variant

Bar tag

See Also..

AddFunction   AddDataArray  

Example..

Dim Tooltips$(nX, nY)
For i = 1 To nX
  For j = 1 To nY
    Tooltips$(i, j) = "z=" + Format(2 * (Sin(i) + Sin(j)), "0.00")
  Next j
Next i
Call .AddTooltips(Tooltips$)
 


     
Contents     Variables     Events     Properties     Functions     Subs

ecGraph3D    Copyright © 2008, Encore Consulting Pty Ltd