Selvam84 Posted June 22, 2009 Report Share Posted June 22, 2009 Hi I am using Gantt with RandomData-Style="NegativeValues" i.e "2D Horizontal Zero Axis Chart", in default Which will have -values and +values like the below if i set Min =-2,Max=3 and step=1 | | | | ------------------------------------------- -2 -1 0 1 2 3 instead of the above i want to have the chart with dates on the Y axis since i am getting date as input values I want to set Today date i.e "22 jun" as "0" value and previous date as "-" values and future date as "+" values how should i set min,max and 0 as date so that i can get the below | | | | ---------------------------------------------------------------------- 22April 22May 22Jun 22july 22Aug Please help, Thanks Quote Link to comment Share on other sites More sharing options...
Frank Posted June 22, 2009 Report Share Posted June 22, 2009 There is no API to move the "zero" to another value. You can however use Y-From values to start each bar from any arbitrary value (instead of zero or the Min). You need to set Data.YFrom to the initial date (defined by you) for all points in the chart. If you are doing DataBinding, make sure you do this AFTER databinding is performed. 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.