Adding support for using Date and DateTime values as input for the x axis

1. The code to determine witch java objects will be used by FieldTypeEnum.
2. Adding support for using StockCharts