Posted 3 March 2025, 8:16 am EST
Hi Benoit,
Actually, I also don’t have access to the actual function parameters as this is an internal function, however, as per my investigation I have the following observations -
(Axis as any).prototype._createLogarithmicLabels = function (t, e, i, r, n, s)
t = min property value of the axis
e = max property value of the axis
i = majorUnit
r = array that has actual label values
n = array that has strings to be displayed for each label
s = not sure about this parameter, seems like a boolean value check for some updates in calculating label values
Different behaviors are observed for labels of the linear scale axis and log scale axis because, for the log scale there is a large difference between label values after each major tick mark, and the minor tick marks also needs to be calculated accordingly keeping equal number of minor tick marks between each pair of major tick marks. All this part for log scale labels is handled separately, due to which this variation in behavior is observed.
We have also created an enhancement request as per your suggestion. Here’s the internal tracking ID for the same - WJM-35828. We will update you on its progress when we have some information from the engineering team.
Regards