You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Visual map for line chart does not work on dimensions higher than 1 #19270
After cheching the source code, 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.
Could we convert this into a feature request instead? Or is there a workaround on how to color different line segments of a series differently? Independently of their x/y dimensions.
Activity
jpfeuffer commentedon Nov 2, 2023
Similar issues with no answers:
#18629
#11667
frab90 commentedon Nov 21, 2023
any idea why this happens? have you already done any investigation @helgasoft ?
Ovilia commentedon May 16, 2024
After cheching the source code, 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.
jpfeuffer commentedon May 16, 2024
Could we convert this into a feature request instead? Or is there a workaround on how to color different line segments of a series differently? Independently of their x/y dimensions.
helgasoft commentedon May 16, 2024
yes, custom lines - Demo. Colors could also come from a data column, then visualMap won't even be needed.
