added mix() functions for scalar and location types
starting to work on draggable time selector in chart view