Hi Mousumi,
You can use Axis.setDateScale. For example, in Java:
c.xAxis().setDateScale(startTime, endTime, 5 * 86400);
The 5 * 86400 means 5 days (1 day has 86400 seconds). The startTime and endTime are the date/time object for the programming language, which for Java is java.util.Date objects. (You may look up "Date/Time Specification" from the ChartDirector documentation index for details.)
Hope this can help.
Regards
Peter Kwan |