Jump to content
Software FX Community

How to display labels on top of each bar on X-Axis?


rao.sripathi
 Share

Recommended Posts

We call those "Point Labels". To make them show:

chart.AllSeries.PointLabels.Visible = true;

To customize what's display in them (by thefault the point value is displayed buy you can display any information for that point):

chart.AllSeries.PointLabels.Format = "%l";

Also, if you want to hide the X-Axis (at the bottom of your chart) you can do it:

chart.AxisX.Visible = false;

post-5016-13922406257528_thumb.jpg

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.

 Share

×
×
  • Create New...