pathtolearn commented on issue #7887: Positioning vertical legends dynamically 
left/right to a chart
URL: 
https://github.com/apache/incubator-echarts/issues/7887#issuecomment-457995988
 
 
   > You will have the same problem if you have horizontal legend. I always use 
horizontal legend and with scroll type. This way the legend will not overlay 
the chart BUT you will not have all the legend options available at once.
   > 
   > Code:
   > 
   > ```js
   > legend: {
   >     type: 'scroll',
   >     orient: 'horizontal'
   > }
   > ```
   > 
   > 
![capturar](https://user-images.githubusercontent.com/20660551/37279079-9d6a8a86-25e1-11e8-8188-296d28cbdbf5.PNG)
   > 
   > As you can see in the image, you will always have the same height for the 
legend and, at least form me, is easier to manipulate. Despite this, I think 
you are right. This is just the way I use the legend in order to avoid your 
problem.
   
   Thanks, now my graph looks much better.

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