You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "dolphin666888 (via GitHub)" <gi...@apache.org> on 2023/05/02 01:56:46 UTC

[GitHub] [echarts] dolphin666888 opened a new issue, #18582: option for making ternary phase diagrams

dolphin666888 opened a new issue, #18582:
URL: https://github.com/apache/echarts/issues/18582

   ### What problem does this feature solve?
   
   Ternary phase diagrams are standard for many scientific and engineering applications. However, this option is not available for Echarts. This feature is not available for other javascript plotting libraries either. So if this can be included in Echarts. It would make Echarts unique in this aspect.
   
   ### What does the proposed API look like?
   
   provide a new chart type


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] dolphin666888 commented on issue #18582: option for making ternary phase diagrams

Posted by "dolphin666888 (via GitHub)" <gi...@apache.org>.
dolphin666888 commented on issue #18582:
URL: https://github.com/apache/echarts/issues/18582#issuecomment-1532496492

   > D3 has [custom modules](https://github.com/davenquinn/d3-ternary#acknowledgments:~:text=Acknowledgments-,Several%20projects,-have%20served%20as) for ternary plots. [This one](https://observablehq.com/@toja/d3-ternary-plot) is simple enough to be built in ECharts. Elements are only lines and scatter - a good DIY project. But these charts could also become [very complex](https://www2.tulane.edu/~sanelson/eens212/ternaryphdiag.htm). It appears that each industry has its own criteria, making a universal chart impractical.
   
   Thank you for the comment. I think that your suggestion is sufficient for me. Ternary plots are similar to XY plots. What I need is triangular coordinates with options for line types, point types, legends, axis labels and so on.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] helgasoft commented on issue #18582: option for making ternary phase diagrams

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18582:
URL: https://github.com/apache/echarts/issues/18582#issuecomment-1551776365

   It is doable in 3D - [proof of concept (POC)](https://helgasoft.github.io/echarty/extras.html#ternary)
   
   ![image](https://github.com/apache/echarts/assets/13038071/45e906f5-3752-489b-872e-2e1e09480be5)
   


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] dolphin666888 commented on issue #18582: option for making ternary phase diagrams

Posted by "dolphin666888 (via GitHub)" <gi...@apache.org>.
dolphin666888 commented on issue #18582:
URL: https://github.com/apache/echarts/issues/18582#issuecomment-1532684189

   Sorry for making wrong comments. there are no axis labels for ternary plots, since all labels are located at the vertices. It would be great if the functionality offered by D3 is included in Echarts. 


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] helgasoft commented on issue #18582: option for making ternary phase diagrams

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18582:
URL: https://github.com/apache/echarts/issues/18582#issuecomment-1532553867

   The tough part is probably the 3 axes with labels.
   Too bad [singleAxis](https://echarts.apache.org/en/option.html#singleAxis) cannot be rotated.
   In d3 they do the triangle with [path](https://echarts.apache.org/en/option.html#series-custom.renderItem.return_path), but it could be done also with [polyline](https://echarts.apache.org/en/option.html#series-custom.renderItem.return_polyline.shape.points).
   Good [example](https://echarts.apache.org/examples/en/editor.html?c=flame-graph) of custom series with text labels.
   


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [echarts] helgasoft commented on issue #18582: option for making ternary phase diagrams

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18582:
URL: https://github.com/apache/echarts/issues/18582#issuecomment-1532443804

   D3 has [custom modules](https://github.com/davenquinn/d3-ternary#acknowledgments:~:text=Acknowledgments-,Several%20projects,-have%20served%20as) for ternary plots.
   [This one](https://observablehq.com/@toja/d3-ternary-plot) is simple enough to be built in ECharts. Elements are only lines and scatter - a good DIY project. 
   But these charts could also become [very complex](https://www2.tulane.edu/~sanelson/eens212/ternaryphdiag.htm). It appears that each industry has its own criteria, making a universal chart impractical.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] option for making ternary phase diagrams [echarts]

Posted by "Lexachoc (via GitHub)" <gi...@apache.org>.
Lexachoc commented on issue #18582:
URL: https://github.com/apache/echarts/issues/18582#issuecomment-1919641406

   I also wish there was a ternary rendering feature. The only reason I still use Plotly.js is because they have ternary rendering functionality! https://plotly.com/javascript/ternary-plots/
   
   But I really like the style of Echart, the animations and the hover tooltips, so it bothers me because I don't want to use two libraries, Plotly for ternary plot and Echart for the rest. (Maybe one day I will have to do that ......).
   
   In scientific visualization, e.g. for ceramic/glass/metal compositions, ternary diagrams are very important to show the distribution or formation.
   


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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