@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
2条答案
按热度按时间lqfhib0f1#
@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&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrGMMBpCCauumAE4Q55skDkAhgA8IAZ16UWsIaIAKwCNDBYeyKpLABPEFj4 BjNsBFi1sUlQpVddYCoDaJ3gGIArABYA7AAZdANnEPHAE4ARl1dd2d_SScAM35dAA5nBKiWJywsHyy_CTTHdwBmXU8CLFT0JwKAI34AJnda8thYxNdnRtyKoP4fTyrXJvT-dzDdXioAXVyCfjB-ESwwJhM RYABXNl0dWHtJdFteEAMCNd0wcWbaz2DI8kvrnPvg914pk33eAFlZ3QALflgABlZkoLq4CgA6Ap3JIQhJ3QKQ9xvPY7L4QDAAa1gABUsPwLglIcE7oUIa47s5nBDgii9gcAMK_DILWAM4BWAkwnzku4 -am1GG1CHOOmSA4AdX4GGgazAsAAQgYAO7QCBlUnCimwZyQwJ3AqBGlilgHb5gP4A4FgJTBMGQ6GwWHw2CIiHIzqm9FY3H4u0w4mkyHaqnGz0fJksrBsjnAfj-p087X8iGCp3C0XhtFSmVyxUqtVYBMNX k6vUGo20kwTcy5QQAQWEIiY1C0214ulmuBsGl4plyGkboiYFnQADdRGtpd9GDsTMw9iJfsBlSQ4hgFlmCBAALb4ERQaAkTxZhYcLAiACShCwgmPWZA6q2zbnqPQC7fmCUJGh7z2VgwGw-BcDxv D8P90FHN8PzfHBv1gCkIJYehtmcLNJAAoDmhArxfHGT8oNRGDUTg7YfHQlhMJUJw3Fw8CCL_GtJEI1RUSXFc12lTc_23PdoAPGB7z_M91SvG871gEk_0fLBnxIXZoKQ9AUJ_Cj0Co4CQjCCJ 8LfFjJGIvZSJIRDP2U -C0KU2ANOwrTwkiJD9JYQzJGM2ByKsmynDsnTHMYkwWMM9jV1gdduNRXj90PIS2OUUTr1KCTBWkp8L3kpCXOQ-DfzM6zrGoxw4kSZJdNRJz3ystzTLMlSdTUvLAIKoqkhSRyKMy9A3I83KvMK-IWtKv YzFRJiWGG2A6QAekm2AABFZIwfg2GjBYx2UaVYBqNhYBEi87nxP5YGVDEME26Md34EBtAIKhpuoYApAatYdzgYAYlgGY5gWMAIVWDYtk2jQPqwOI1noCEqF2l9bCQVttD4DAFDKftkDh9tEegZGKFR zR4eaDGsZrUgAG4gA
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
dxxyhpgq2#