Jump to content
Software FX Community

TipMask with xlabels - very urgent(Please help - Attached a descriptive chart)


Mohamed

Recommended Posts

Sorry I am frequently posting many question( to meet my deadline).

This question is my most wanted one:

When I keep the mouse on the interactive bars on the chart, I was able to produce tooltip with actual values bar with the below code.

chart1.TipMask = "%v%x"<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

But I want to display the corresponding Xaxis labels as the tooltip.(Attached descriptive chart Image for this question).

Thanks

Mohamed

Link to comment
Share on other sites

Use %l to display the X-Axis label (instead of %x).

Please review the documentation for the TipMask property:

  • The syntax for this property is the same as the one used in the PointLabelMask property. Variables can be accessed using the % following the variable you want to include:

     

    l Shows X-Axis Legend.

    k Shows X-Axis Key Legend.

    s Shows Series Legend.

    S Shows the Series Index.

    x Shows XValue (XY charts, when they were set with X values).

    i Shows IniValues (Gantt).

    v Shows Data Value.

    v <n> For types that require more than one series, these are replaced by the value of each one. (n represents an index).

    t Series Total (Sum of all points in this series).

    p Percentage of total this point represents (Pie).

    T Point Total (Sum of all series for this point).

    P Percentage of total this series represents (Used in stacked charts).

    X displays the marker X value for any chart type including those that do not support X values such as bar.

    N Shows the index for the point.

    L Shows the Tag string of the Point object.

  • This property is write-only.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...