Jump to content
Software FX Community

Point Labels -Show X value instead of Y


AlexeyRedko

Recommended Posts

  • 2 weeks later...

From the Resource Center. You are looking for %x I believe:


    [*]

    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 Content property
    of the Point object.

Example


To use the PointLabel Format Property:

[C#]
chart1.AllSeries.PointLabels.Format = "I'm point # %N";
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...