TAcharting icon indicating copy to clipboard operation
TAcharting copied to clipboard

Drop jFreechart usage and use javascript for plotting

Open team172011 opened this issue 7 years ago • 6 comments

team172011 avatar Feb 19 '18 22:02 team172011

What's going on now ?

sky54521 avatar Aug 29 '18 06:08 sky54521

Hi, thanks for your interest in this project. So far I have paused this project, searching for a way to store/save complete templates and a solid logic to apply indicators on other indicators

team172011 avatar Sep 03 '18 13:09 team172011

You can find an approach in the d3 branch where I am using d3 for plotting

team172011 avatar Sep 03 '18 13:09 team172011

How do I find the right model if I use the d3?

sky54521 avatar Sep 06 '18 11:09 sky54521

could you give me an example to transform ta4j's data model into d3's data model? I hope I can better monitor ta4j's data, so I want to show ta4j's data model through the chart

sky54521 avatar Sep 06 '18 11:09 sky54521

I have written my own charting logic to visualize candlestick, indicators and labels in javascript with help of d3. You find it in this file: https://github.com/team172011/TAcharting/blob/d3/src/main/resources/html/printTests.html

In this class https://github.com/team172011/TAcharting/blob/d3/src/main/java/org/sjwimmer/tacharting/chart/view/TaChart2.java you can find how indicators can be added via JSON format

team172011 avatar Sep 06 '18 18:09 team172011