Set date axis units

Refer to the following example code to see how to configure date axis, such as axis' maximum/minimum scale, major/minor unit, etc.