sxmpasch commented on issue #9429: need to get axisLabel.maxLabel
URL: 
https://github.com/apache/incubator-echarts/issues/9429#issuecomment-440030817
 
 
   This is perhaps not the best way to achieve this, but you could 
theoretically do something like the following:
   ```
   let topPixel = myChart.getOption().grid[0].top;
   let coord=myChart.convertFromPixel({seriesIndex:0},[0,topPixel]);
   console.log(coord[1]);
   
   ```
   This example gets the top pixel coordinate from the desired grid and 
converts then this pixel to the corresponding series y-coordinate.
   Since we are converting PIXELS to coords, I do not know how accurate this is 
for your use-case...
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to