Jump to content

displaying whole numbers only on Yaxis in TUniChart


tcoates

Recommended Posts

Hi,

 

We have a couple of charts in one of the our programs. A example chart shows number of calls made for each agent. The issue is that even though I put integer values into the series

 

var
  y: integer;
...
    y := Trunc(series_data.m_y);
    UniBarSeries2.Add(y, series_data.m_x);
 

the user will see 0, 0.5, 1, 1.5, etc. on the y-axis. Is there some way to make the charts only display whole (integer) numbers?  Thanks.

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.

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