Chart label formatting (conditional time format, shorter date format)