You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "MatthiasMert (via GitHub)" <gi...@apache.org> on 2024/01/25 06:56:23 UTC
Re: [I] [Bug] 使用encode取data中不存在的字段时出现意料之外的结果 [echarts]
MatthiasMert commented on issue #19545:
URL: https://github.com/apache/echarts/issues/19545#issuecomment-1909459942
If the encode attribute is incorrect it falls back to default and takes the first "free" column of the dataset. In your case this is the 'value' column since 'no' is taken for x. See this [example](https://echarts.apache.org/examples/zh/editor.html?c=area-stack&lang=ts&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrDgE4THKZYBmYJA5AMwCk75sdHAAs2sdgBZe_AEbAwYYAFsOPPrADGMMAEMI0ADLbpWDCTA0ArllgUqADwCCdiAGcSAbSSwwATxBYOdW0wXGAaHzVZC0JtcIBxbRASZm0MF2tSAF1KdB8nVw8vX38OADdUq3YbbKp0uiw3WHcqdFR0dthobUUAsQBRRV0MPhb24t72DD0sEY7bDraOzu6JgFVoKDgHAhdZpfGOKegZnKX8TQJerzsyiqwARjUfW4wrACYq0lGv9Br0AmC2nSokW6BcwAsNHUvWaS0Y0GAHEe_HKr16AA4AHQANnRKLu9xI9xspwWnURYg--LRRIADJi3gBWalWQmwYnzJZeBEqNSoqwkTiY8QAThZDyJJNGrXJHHEfLuJHpnGx4rZHNGmSoX1IAG4gA).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org