Page 1 of 1

[Solved]CombinedDomainXYPlot: Domain Axis Data points issue

Posted: Thu Aug 09, 2012 8:55 am
by dsambhar
I am drawing Price and volume movement against time for a stock in CombinedDomainXYPlot. Price chart has 50 & 200 Day moving average drawn as line and volume chart only have 50 day moving average.

The issue is when I am drawing chart for Jul 8th, 2011 - Aug 8th, 2012, dateaxis adds 20 days on left and 20 days on right to ranage. Thus, eating up 1.5" - 2 inch of chart space.

Is it possible to restrict the date axis to start the data points from specified date range?

Thanks,
Dheeraj

Re: [Solved]CombinedDomainXYPlot: Domain Axis Data points is

Posted: Fri Aug 10, 2012 6:05 am
by dsambhar
Used setLowerMargin() and setUpperMargin() function on axis.