Skip to content

Commit

Permalink
Merge pull request #37 from horizontalsystems/intervals
Browse files Browse the repository at this point in the history
Set interval for 24h as 30 min
  • Loading branch information
abdrasulov authored Mar 22, 2023
2 parents f29c84b + 49ac925 commit aad3b73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object HsChartRequestHelper {
fun pointInterval(periodType: HsPeriodType) = when (periodType) {
is HsPeriodType.ByPeriod -> {
when (periodType.timePeriod) {
HsTimePeriod.Day1 -> HsPointTimePeriod.Hour1
HsTimePeriod.Day1 -> HsPointTimePeriod.Minute30
HsTimePeriod.Week1 -> HsPointTimePeriod.Hour4
HsTimePeriod.Week2 -> HsPointTimePeriod.Hour8
else -> HsPointTimePeriod.Day1
Expand Down

0 comments on commit aad3b73

Please sign in to comment.