oolib 2.192.1 → 2.192.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,10 +27,8 @@ var useGetDimensions = function (data, maxHeight, containerWidth, totalDataCount
|
|
|
27
27
|
singleBarWidth = Math.max(dynamicBarWidth, __1.DEFAULT_SINGLE_BAR_WIDTH);
|
|
28
28
|
// Calculate the ceiling value for the highest count
|
|
29
29
|
var divideBarIntoEqualParts = function (num) {
|
|
30
|
-
if (num <= 5)
|
|
31
|
-
return 5;
|
|
32
30
|
if (num <= 10)
|
|
33
|
-
return
|
|
31
|
+
return num;
|
|
34
32
|
if (num <= 20)
|
|
35
33
|
return 20;
|
|
36
34
|
if (num <= 50)
|