Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Dec 13, 2019 9:28 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Format y axis from double to hh:mm in Chart Director
PostPosted: Thu Jul 29, 2010 11:08 am 
Offline
User avatar

Joined: Mon Jul 06, 2009 3:36 pm
Posts: 15
Location: Emergency Department, University of Alberta Hospital
I am currently plotting the number of minutes on the y-axis using MBS Chartdirector. I would like to display the y-axis labels and the data tics in hh:mm format but I am stuck. Is this possible? If it is, where in the MBS Chartdirector docs would I find how to do this?

_________________
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.

REALStudio 2012 Release 4.3
Windows XP, Service Pack 3


Top
 Profile  
Reply with quote  
 Post subject: Re: Format y axis from double to hh:mm in Chart Director
PostPosted: Fri Jul 30, 2010 5:54 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Have you read this article?
http://www.monkeybreadsoftware.net/faq- ... ting.shtml

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Format y axis from double to hh:mm in Chart Director
PostPosted: Tue Aug 03, 2010 3:48 pm 
Offline
User avatar

Joined: Mon Jul 06, 2009 3:36 pm
Posts: 15
Location: Emergency Department, University of Alberta Hospital
That helped even though I made things much more difficult than they were. All I had to do is change the format of the y label like so, c.yAxis.setLabelFormat("{value|h:nn}")

_________________
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.

REALStudio 2012 Release 4.3
Windows XP, Service Pack 3


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group