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


   @leavebody 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. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **BODY**
   
   ### What problem does this feature solve?
   
   In a parallel coordinate graph, if a value in a series is missing, the 
polyline skips the corresponding axis. This makes it difficult to tell whether 
this value is missing or exactly equal to the value of the intersection of the 
polyline and the axis. For enum types, a special enum value can be used to 
indicate missing values, but for numeric types, there is no way to properly 
handle missing values.
   Hopefully it's possible to give the y-axis a separate tick for the polyline 
with missing values ​​to go through it.
   In parallelAxis graph, if a value in a series is missing, the line skips the 
corresponding axis. This makes it difficult to tell whether this value is 
missing or exactly equal to the value of the intersection of the polyline and 
the axis. For enum types , a special enum value can be used to indicate missing 
values, but for numeric types, there is no way to handle missing values 
​​sensibly.
   
   ### What does the proposed API look like?
   
   parallelAxis: [
           {dim: 0, name: schema[0].text},
           {dim: 1, name: schema[1].text,
              emptyValueHandling: {
                       method: "extraTick", // or "skip", for the current 
behavior
                       extraTickName: "default",
                  }
           }
          ...
       ]
    series: [
           {
               name: 'Beijing',
               type: 'parallel',
               data: [
                   [1, , 9, 56, 0.46, 18, 6, 'good'], // empty value in the 2nd 
axis will go through an extra tick named "default"
                   [2, 25, 11, 21, 0.65, 34, 9, 'excellent'],
                   ...
               ]
           },
   ...
   ]
   </details>


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to