You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/31 07:20:43 UTC

[GitHub] alanmeng82 edited a comment on issue #9758: Modified the node's coordinates generate method

alanmeng82 edited a comment on issue #9758: Modified the node's coordinates generate method
URL: https://github.com/apache/incubator-echarts/pull/9758#issuecomment-459241985
 
 
   > @alanmeng82 Hi, can you provide a demo to create the situation you mentioned?
   
   @Ovilia Certainly,here is the demo code for finding the difference between the original and modifed.
   
   [example.txt](https://github.com/apache/incubator-echarts/files/2816016/example.txt)
   
   And there're some snapshots that show the result directly:
   
   3 nodes:
      original:
   ![3_nodes_org](https://user-images.githubusercontent.com/39982875/52036996-ea586980-2568-11e9-9f25-eda6909697d2.jpg)
   
      modified:
   ![3_nodes_modified](https://user-images.githubusercontent.com/39982875/52037047-00fec080-2569-11e9-99ad-8189bdd46050.jpg)
   
   5 nodes:
      original:
   ![5_nodes_org](https://user-images.githubusercontent.com/39982875/52037181-3d322100-2569-11e9-9ac1-5aeb8ff701df.jpg)
   
      modified:
   ![5_nodes_modified](https://user-images.githubusercontent.com/39982875/52037186-3f947b00-2569-11e9-922b-c52dfa13873f.jpg)
   
   7 nodes:
      original:
   ![7_nodes_org](https://user-images.githubusercontent.com/39982875/52037208-5044f100-2569-11e9-8592-6f4e7441335d.jpg)
   
      modified:
   ![7_nodes_modified](https://user-images.githubusercontent.com/39982875/52037224-5a66ef80-2569-11e9-8b43-98df72eb1f88.jpg)
   
   Now we can keep the graph bottom edge be parallel with the screen bottom line.Especially I think it will be better when you draw a triangle as it be often used with high frequency. 
   
   
   
   
   
   
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org