Re: [I] [Feature] 如何实现折线图按x轴进行分区展示的效果 [echarts]

2024-03-09 Thread via GitHub


wyzhang0401 commented on issue #19698:
URL: https://github.com/apache/echarts/issues/19698#issuecomment-1986819591

   
![image](https://github.com/apache/echarts/assets/55241675/a09b299f-6c60-469c-b008-62317a21b119)
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



Re: [I] [Feature] 如何实现折线图按x轴进行分区展示的效果 [echarts]

2024-03-09 Thread via GitHub


echarts-bot[bot] commented on issue #19698:
URL: https://github.com/apache/echarts/issues/19698#issuecomment-1986819209

   @wyzhang0401 It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 珞
   TRANSLATED
   
   **TITLE**
   
   [Feature] How to achieve the effect of partitioning the line chart according 
to the x-axis
   
   **BODY**
   
   ### What problem does this feature solve?
   
   Question: The effect you want to achieve using visualMap in the example 
[https://echarts.apache.org/examples/zh/editor.html?c=dataset-simple0=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrGMMBpCCauumAE4Q55skDkAhgA8IAZ16UWsIaIAKwCNDBYeyKpLABPEFj4
 
BjNsBFi1sUlQpVddYCoDaJ3gGIArABYA7AAZdANnEPHAE4ARl1dd2d_SScAM35dAA5nBKiWJywsHyy_CTTHdwBmXU8CLFT0JwKAI34AJnda8thYxNdnRtyKoP4fTyrXJvT-dzDdXioAXVyCfjB-ESwwJhM
 
RYABXNl0dWHtJdFteEAMCNd0wcWbaz2DI8kvrnPvg914pk33eAFlZ3QALflgABlZkoLq4CgA6Ap3JIQhJ3QKQ9xvPY7L4QDAAa1gABUsPwLglIcE7oUIa47s5nBDgii9gcAMK_DILWAM4BWAkwnzku4
 
-am1GG1CHOOmSA4AdX4GGgazAsAAQgYAO7QCBlUnCimwZyQwJ3AqBGlilgHb5gP4A4FgJTBMGQ6GwWHw2CIiHIzqm9FY3H4u0w4mkyHaqnGz0fJksrBsjnAfj-p087X8iGCp3C0XhtFSmVyxUqtVYBMNX
 
k6vUGo20kwTcy5QQAQWEIiY1C0214ulmuBsGl4plyGkboiYFnQADdRGtpd9GDsTMw9iJfsBlSQ4hgFlmCBAALb4ERQaAkTxZhYcLAiACShCwgmPWZA6q2zbnqPQC7fmCUJGh7z2VgwGw-BcDxv
 
D8P90FHN8PzfHBv1gCkIJYehtmcLNJAAoDmhArxfHGT8oNRGDUTg7YfHQlhMJUJw3Fw8CCL_GtJEI1RUSXFc12lTc_23PdoAPGB7z_M91SvG871gEk_0fLBnxIXZoKQ9AUJ_Cj0Co4CQj
 CCJ 8LfFjJGIvZSJIRDP2U 
-C0KU2ANOwrTwkiJD9JYQzJGM2ByKsmynDsnTHMYkwWMM9jV1gdduNRXj90PIS2OUUTr1KCTBWkp8L3kpCXOQ-DfzM6zrGoxw4kSZJdNRJz3ystzTLMlSdTUvLAIKoqkhSRyKMy9A3I83KvMK-IWtKv
 
YzFRJiWGG2A6QAekm2AABFZIwfg2GjBYx2UaVYBqNhYBEi87nxP5YGVDEME26Md34EBtAIKhpuoYApAatYdzgYAYlgGY5gWMAIVWDYtk2jQPqwOI1noCEqF2l9bCQVttD4DAFDKftkDh9tEegZGKFR
 zR4eaDGsZrUgAG4gA](example)
   1. Is there any other better method without using visualMap?
   2. If you use visualMap, what are the risks when there are many series and a 
large amount of data?
   
   ### What does the proposed API look like?
   
   The lineStyle of the line chart can set a callback to customize the line 
color of each section, or whether to connect
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[I] [Feature] 如何实现折线图按x轴进行分区展示的效果 [echarts]

2024-03-09 Thread via GitHub


wyzhang0401 opened a new issue, #19698:
URL: https://github.com/apache/echarts/issues/19698

   ### What problem does this feature solve?
   
   
问题:想要在示例中使用visualMap实现的效果[https://echarts.apache.org/examples/zh/editor.html?c=dataset-simple0=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrGMMBpCCauumAE4Q55skDkAhgA8IAZ16UWsIaIAKwCNDBYeyKpLABPEFj4BjNsBFi1sUlQpVddYCoDaJ3gGIArABYA7AAZdANnEPHAE4ARl1dd2d_SScAM35dAA5nBKiWJywsHyy_CTTHdwBmXU8CLFT0JwKAI34AJnda8thYxNdnRtyKoP4fTyrXJvT-dzDdXioAXVyCfjB-ESwwJhMRYABXNl0dWHtJdFteEAMCNd0wcWbaz2DI8kvrnPvg914pk33eAFlZ3QALflgABlZkoLq4CgA6Ap3JIQhJ3QKQ9xvPY7L4QDAAa1gABUsPwLglIcE7oUIa47s5nBDgii9gcAMK_DILWAM4BWAkwnzku4-am1GG1CHOOmSA4AdX4GGgazAsAAQgYAO7QCBlUnCimwZyQwJ3AqBGlilgHb5gP4A4FgJTBMGQ6GwWHw2CIiHIzqm9FY3H4u0w4mkyHaqnGz0fJksrBsjnAfj-p087X8iGCp3C0XhtFSmVyxUqtVYBMNXk6vUGo20kwTcy5QQAQWEIiY1C0214ulmuBsGl4plyGkboiYFnQADdRGtpd9GDsTMw9iJfsBlSQ4hgFlmCBAALb4ERQaAkTxZhYcLAiACShCwgmPWZA6q2zbnqPQC7fmCUJGh7z2VgwGw-BcDxvD8P90FHN8PzfHBv1gCkIJYehtmcLNJAAoDmhArxfHGT8oNRGDUTg7YfHQlhMJUJw3Fw8CCL_GtJEI1RUSXFc12lTc_23PdoAPGB7z_M91SvG871gEk_0fLBnxIXZoKQ9AUJ_Cj0Co4CQjCCJ8LfFjJGIvZSJIRDP2
 
U-C0KU2ANOwrTwkiJD9JYQzJGM2ByKsmynDsnTHMYkwWMM9jV1gdduNRXj90PIS2OUUTr1KCTBWkp8L3kpCXOQ-DfzM6zrGoxw4kSZJdNRJz3ystzTLMlSdTUvLAIKoqkhSRyKMy9A3I83KvMK-IWtKvYzFRJiWGG2A6QAekm2AABFZIwfg2GjBYx2UaVYBqNhYBEi87nxP5YGVDEME26Md34EBtAIKhpuoYApAatYdzgYAYlgGY5gWMAIVWDYtk2jQPqwOI1noCEqF2l9bCQVttD4DAFDKftkDh9tEegZGKFRzR4eaDGsZrUgAG4gA](示例)
   1. 如果不使用visualMap有没有其他更好的方法
   2. 如果使用visualMap,在series比较多,数据量比较大的情况下会有什么风险
   
   ### What does the proposed API look like?
   
   折线图的lineStyle可以设置回调,自定义每个区段的折线颜色,或者是否连接


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org