Jump to content
Software FX Community

Custom Labels


Recommended Posts


 I am trying to generate a graph using chart class in .net. My X axis is time with 10 min interval and Y axis is numerical value. The chart works fine if my X axis label format is hh:mm but when i change the format to only hh I dont get the accurate results. For e.g. if my data starts from 9:20 am and the value is 120, with hh:mm format the the first label is 9:20 and value is 120 but with only hh format the first label becomes 9 am and value is 120. Similarly, it show the value at 10:20 not 10 as 10 am. I want to customize the labels and grid for hour values like 9 am,10 am.

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.

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...