jackhickson opened a new pull request, #21387:
URL: https://github.com/apache/echarts/pull/21387

   ## Brief Information
   
   This pull request is in the type of:
   
   - [x ] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   Calculate the correct axis extent for parallel axes when any series after 
the first has a larger value than the first series.
   
   
[demo](https://echarts.apache.org/examples/en/editor.html?c=parallel-simple&theme=dark&code=rVCxasMwFNzzFbdpESV2S2lcOqRQOhTaQoYOwYOwHolAtoyi0pjgf--TZRuTOYPPcO_07u65NhjX4AWXFdAqr6wluz2bU4E9M8AF2tQF1hKNqqmA-PamIoFeLsfZPP6kgB8yh2O41uSzZlu732YxHxBJdZ84TNpd5TyJiQxdG8lKBTo43828VkFxYvF2rogb8HIJ8e6cjv-vj4ivSotykPeMZXx5Im8oNk0JxuXTFcbl1jS0C53l0RT0z-hwLPCQtiXZmGBU7LP8brORyNZ8uCdunsIMrmzO2Mvbm-ZslkV45G9xi1R7cC1X_fM_&enc=deflate)
   
   `option = {
     parallelAxis: [
       { dim: 0, name: 'Price' },
       { dim: 1, name: 'Net Weight' },
       { dim: 2, name: 'Amount' },
       {
         dim: 3,
         name: 'Score',
         type: 'category',
         data: ['Excellent', 'Good', 'OK', 'Bad']
       }
     ],
     series: [{
       type: 'parallel',
       lineStyle: {
         width: 4
       },
       data: [
         [12.99, 100, 82, 'Good'],
       ]
     },{
       type: 'parallel',
       lineStyle: {
         width: 4
       },
       data: [
         [20, 120, 60, 'Excellent']
       ]
     }]
   };`
   
   ### Fixed issues
   
   - #18082
   
   
   ## Details
   
   ### Before: What was the problem?
   
   parallel lines are being drawn off the ends of the axes when a value in a 
series after the first has a larger value
   
   
   
   ### After: How does it behave after the fixing?
   
   The axis is now being calculated correctly
   
   
   
   ## Document Info
   
   One of the following should be checked.
   
   - [ x] This PR doesn't relate to document changes
   - [ ] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   
   
   ## Misc
   
   ### Security Checking
   
   - [ ] This PR uses security-sensitive Web APIs.
   
   ### ZRender Changes
   
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   N.A.
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merging.
   
   ### Other information
   


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