barchartのtime_scaleをrefactor