react-financial-charts icon indicating copy to clipboard operation
react-financial-charts copied to clipboard

Trendline

Open KrunoslavKrainovic opened this issue 3 years ago • 4 comments

I'm submitting a...

  • [ ] bug
  • [ ] feature
  • [ ] chore

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

  • Version: 1.1.0
  • Browser: [all | Chrome XX | Firefox XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari ]

Other information

KrunoslavKrainovic avatar Nov 20 '21 23:11 KrunoslavKrainovic

Is there any follow-up on this?

amaneer94 avatar Dec 07 '23 18:12 amaneer94

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

ivanmatiaspascual avatar Dec 07 '23 18:12 ivanmatiaspascual

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

amaneer94 avatar Dec 07 '23 19:12 amaneer94

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

ivanmatiaspascual avatar Dec 07 '23 21:12 ivanmatiaspascual