Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set interval for 24h as 30 min #37

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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