Hi Piotr,

This problem has been fixed in https://github.com/apache/echarts/pull/21107
and should be released in v6.0.0. We are going to start the release vote
next week.

You may try with the nightly build in 3 hours from now.
npm install echarts@npm:echarts-nightly

Thanks

*Ovilia*


On Mon, Jul 7, 2025 at 6:06 PM Ovilia <oviliazh...@gmail.com> wrote:

> Confirmed this to be a bug. I will try to fix it in this version.
>
> Thanks
>
> *Ovilia*
>
>
> On Mon, Jul 7, 2025 at 5:30 PM Ovilia <oviliazh...@gmail.com> wrote:
>
>> Sorry for the late reply.
>>
>> This seems to do to with rounding with Log axis, where powVal is set to
>> be 0 for values smaller than 1e-10:
>> https://github.com/apache/echarts/blob/master/src/scale/Log.ts#L67
>>
>> I will let you know after discussing with other committers about whether
>> we should treat this as a bug or not. A quick fix should be, setting values
>> to be *1e10 and using formatter to /1e10.
>>
>>
>> Thanks
>>
>> *Ovilia*
>>
>>
>> On Fri, Jul 4, 2025 at 10:07 PM Piotr Zarzycki <piotrzarzyck...@gmail.com>
>> wrote:
>>
>>> Is there any clue based on my input ?
>>>
>>> czw., 26 cze 2025 o 19:11 Piotr Zarzycki <piotrzarzyck...@gmail.com>
>>> napisał(a):
>>>
>>>> Ovilia,
>>>>
>>>> yAxis.axisLabel.formatter is not the problem here. The code in Apache
>>>> Flex has been translated into TypeScript 1:1 - we are using the same
>>>> formatter that displays what we need in the Flex implementation. I
>>>> completely removed the formatter for the y-axis in the old implementation,
>>>> and the chart displays 1e-14, 1e-13, 1e-12, 1.000000000e-11 - while Apache
>>>> ECharts has large gaps in those places.
>>>>
>>>> Screenshot of old App without formatter: https://postimg.cc/D4kdLBGL
>>>> Screenshot of Apache ECharts without formatter:
>>>> https://postimg.cc/879HTpCZ
>>>>
>>>> Thanks,
>>>> Piotr
>>>>
>>>> śr., 25 cze 2025 o 13:33 Ovilia <oviliazh...@gmail.com> napisał(a):
>>>>
>>>>> Can you provide the yAxis.axisLabel.formatter that you are using?
>>>>>
>>>>> Thanks
>>>>>
>>>>> *Ovilia*
>>>>>
>>>>>
>>>>> On Sun, Jun 22, 2025 at 11:22 PM Piotr Zarzycki <
>>>>> piotrzarzyck...@gmail.com> wrote:
>>>>>
>>>>>> Hi Ovilia,
>>>>>>
>>>>>> We have an old implementation of a chart written in ActionScript 3
>>>>>> (Flex), where the y-axis displays all the data (labels), but in ECharts 
>>>>>> it
>>>>>> is not displayed for some reason (data for series are the same). I'm 
>>>>>> trying
>>>>>> to explain this in the links and examples above. I forgot to mention that
>>>>>> in the example I provided above, the data in ECharts is not formatted: 
>>>>>> 10u
>>>>>> = 1e-5 = 0.00001, and 100p = 1e-10 = 0.0000000001.
>>>>>>
>>>>>> Please paste provided options into any example of ECharts on the
>>>>>> website and you will see what is missing on the y-axis.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Piotr
>>>>>>
>>>>>> wt., 17 cze 2025 o 08:11 Ovilia <oviliazh...@gmail.com> napisał(a):
>>>>>>
>>>>>>> Sorry that I didn't quite understand what's going wrong here. Can
>>>>>>> you be more specific?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> *Ovilia*
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 16, 2025 at 9:02 PM Piotr Zarzycki <
>>>>>>> piotrzarzyck...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> We are using Apache ECharts quite successfully in our React-based
>>>>>>>> application. However, there is one issue that seems to be on the
>>>>>>>> library
>>>>>>>> side, though we're not certain if that's the case.
>>>>>>>>
>>>>>>>> Here are the options to display the chart:
>>>>>>>> https://pastecode.io/s/tcvfjr0v
>>>>>>>>
>>>>>>>> The original chart looks like this. Take a look at the y-axis, which
>>>>>>>> displays 10p, 1f, 100p → https://postimg.cc/rdw2CczK
>>>>>>>>  chart lacks exactly this → https://postimg.cc/yDqFZYQy
>>>>>>>>
>>>>>>>> Is this an issue or just a matter of configuration?
>>>>>>>>
>>>>>>>> I appreciate any help in this regard.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> --
>>>>>>>>
>>>>>>>> Piotr Zarzycki
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Piotr Zarzycki
>>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>

Reply via email to