You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Ovilia (via GitHub)" <gi...@apache.org> on 2024/05/16 07:07:42 UTC

Re: [I] [Bug] Visual map for line chart does not work on dimensions higher than 1 [echarts]

Ovilia commented on issue #19270:
URL: https://github.com/apache/echarts/issues/19270#issuecomment-2114231165

   After cheching [the source code](https://github.com/apache/echarts/blob/75dd430d77e8949d56f2129f05018fe8629e5b2d/src/chart/line/LineView.ts#L280-L295), I think this is by-design instead of being a bug.
   
   For line series, the data dimensions are not arbitory, but instead, the first dimension means X and the second Y. So if visualMap takes a dimension other than X and Y, it makes to sense whether to map the color of line vertically or horizontally. Thus, only the first and seconds dimension should be allowed for visualMap.
   


-- 
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