You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2023/03/10 19:48:38 UTC

[GitHub] [echarts] helgasoft commented on issue #18358: [Feature] Add alternative behavior for select on legend

helgasoft commented on issue #18358:
URL: https://github.com/apache/echarts/issues/18358#issuecomment-1464331000

   Normal behavior of legend uncheck is **hiding** the line, see [official example](https://echarts.apache.org/examples/en/editor.html?c=line-stack).
   Selecting ECharts elements is done by **clicking** on them, if selection is authorized.
   So _1.All items selected_ and _2. Yellow item unselected_ cannot be reproduced. Please provide sample code.
   
   That said, working at the issue, a **bug** pops out - [line.select.lineStyle](https://echarts.apache.org/en/option.html#series-line.select.lineStyle) is **nonfunctional**. 
   It has been reported already in #16545.  Turns out [**lines**.select.lineStyle](https://echarts.apache.org/en/option.html#series-lines.select.lineStyle) is the same - see #16981.
   
   Conclusion: 
   _line.select.lineStyle_ and _line.select.lineStyle_ should be **removed** from the API as suggested by @susiwen8 since they are unlikely to be fixed in the forseable future. 
   My presentiment is that _line_ and _lines_ series code may need to be rewritten someday. Currently they behave more line customized _scatter_ series.


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