AlexeyRedko Posted June 14, 2011 Report Share Posted June 14, 2011 Hello! In sample application "Annotations" I see example for toggling points labels.There is option to show X values instead of Y . For example I have series with points (1,1) ,(3,2),(3,3).If I use your sample I'll see the point labels 1,3,3 and I want to see 1,2,3. Thanks. Quote Link to comment Share on other sites More sharing options...
AndreG Posted June 28, 2011 Report Share Posted June 28, 2011 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"; Quote Link to comment Share on other sites More sharing options...
AlexeyRedko Posted June 29, 2011 Author Report Share Posted June 29, 2011 Thanks, this is exactly what I want Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.