jonavila commented on issue #8841: min/max on yAxis for bar charts, makes the 
bars go outside limits
URL: 
https://github.com/apache/incubator-echarts/issues/8841#issuecomment-516114739
 
 
   > Thanks Jonathan this is exactly what I was looking for, however I can't 
find any documentation about registerLayout. Do you need to return the new 
layout?
   
   No need to return the new layout. Just overwrite the properties of the one 
returned by:
   `data.getItemLayout(idx);`
   
   I'm using ES2015 code, so I did it above using object destructuring. 
   `({ x: layout.x, y: layout.y, width: layout.width, height: layout.height } = 
newLayout)`
   
   As far as I know, the team hasn't documented all of the API. I often read 
the code of the existing charts to get familiar with the undocumented portions 
of the API.

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