Re: [I] [Feature] Add sortIndex for color callback of itemStyle when using realtimeSort [echarts]

2024-03-12 Thread via GitHub
Fno commented on issue #19684: URL: https://github.com/apache/echarts/issues/19684#issuecomment-1990857403 @helgasoft I want echarts to implement sortIdx which give me the current sorting info data in `realtimeSort: true`. For the official demo, in my case, the first and the second

Re: [I] [Feature] Add sortIndex for color callback of itemStyle when using realtimeSort [echarts]

2024-03-11 Thread via GitHub
helgasoft commented on issue #19684: URL: https://github.com/apache/echarts/issues/19684#issuecomment-1989928296 > This always set specific color for the first and the second. cannot replicate, _sortIdx_ is null, I still do not understand what you are trying to accomplish -- This

Re: [I] [Feature] Add sortIndex for color callback of itemStyle when using realtimeSort [echarts]

2024-03-11 Thread via GitHub
Fno commented on issue #19684: URL: https://github.com/apache/echarts/issues/19684#issuecomment-1987762771 @helgasoft ,I make some changes to the example: ``` yAxis: { type: 'category', inverse: true, max: 10, axisLabel: { show:

Re: [I] [Feature] Add sortIndex for color callback of itemStyle when using realtimeSort [echarts]

2024-03-06 Thread via GitHub
helgasoft commented on issue #19684: URL: https://github.com/apache/echarts/issues/19684#issuecomment-1982595152 > no params provide sorting info of data. I have to sort data manually before appling them to the bar chart So you want to change items colors, instead of preserving them