Get started
#608
Replies: 2 comments
-
|
You could play around with this https://codesandbox.io/s/react-financial-charts-demo-c88wz |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks. I saw this example but i noticed that it is still react 16 and was not sure it will work for me, - i will try .. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
i wanted to add the BasicAreaSeries.ts to another project. I was working with "react-stockcharts" before and i have a working project where i would like to replace the "AreaChart" with the "BasicAreaSeries" since "react-stockcharts" is more or less "abandoned" and only working with react <=16. So i was very happy to find this project.
However i have problems getting started. I got the "react-financial-charts"-project running (build from Source), but i can not isolate the BasicAreaSeries to my project.
My naive approach was to copy the code of "BasicAreaSeries.tsx", install the dependencies, update the paths for the data, that i copied too.
Allready in the editor i get the error "generic Typ "ChartCanvas" requires 1 Typeargument".
So it seems a argument is missing. However reviewing the source code i couldnt find any mandatory argument that i miss.
I have only rudimentary knowlege about Typescript and Storybook.
Some examples with a minimum of features would be great to get started..
Any help would be appreciated.
Thanks and best regards!
Beta Was this translation helpful? Give feedback.
All reactions