react-financial / react-financial-charts

Charts dedicated to finance.
https://react-financial.github.io/react-financial-charts/
MIT License
1.2k stars 211 forks source link

Trendline #603

Open KrunoslavKrainovic opened 2 years ago

KrunoslavKrainovic commented 2 years ago

I'm submitting a...

What is the current behavior

It says in readme that it has option for Trendline but i cant see it in documentation

What is the expected behavior

Please tell us about your environment

Other information

amaneer94 commented 10 months ago

Is there any follow-up on this?

ivanmatiaspascual commented 10 months ago

Before at all Trendlines works on react-financial-charts, just in case if you doubt it. The entire project has a lack of documentation. I reccomend you the next steps to infer how to use the functionality: 1) Examples React Financial Library to try to infer it 2) The project react-financial-charts is a typescript refactor of react-stockcharts rrag/react-stockcharts, try to use this examples too, in this case i could undertend trendlines thanks those examples 3) Reverse engineering Good luck

amaneer94 commented 10 months ago

I see that in TrendLine.tsx. The function onSelect seems not implemented yet.

ivanmatiaspascual commented 10 months ago

I see that in TrendLine.tsx. The function onSelect seems not implemented yet.

Thats right, i remember now. I insist, i have used the react-stockcharts example like i told you, the react-stockcharts way use a react selector component that will able you to select different components, trendlines, prices, etc. Let me know if you find it