Skip to content

Commit 669ad04

Browse files
committed
Merge branch 'main' of github-personal:yml-org/YGraphs into release/v2.1.0
2 parents 9aa3712 + 4968efb commit 669ad04

File tree

1 file changed

+1
-1
lines changed
  • YChartsLib/src/main/java/co/yml/charts/common/utils

1 file changed

+1
-1
lines changed

YChartsLib/src/main/java/co/yml/charts/common/utils/DataUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ object DataUtils {
219219
BarChartType.HORIZONTAL -> {
220220
Point(
221221
"%.2f".format(Random.nextDouble(1.0, maxRange.toDouble())).toFloat(),
222-
"%.2f".format(Random.nextDouble(1.0, maxRange.toDouble())).toFloat()
222+
index.toFloat()
223223
)
224224
}
225225
}

0 commit comments

Comments
 (0)