-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TypeScript] Missing property in Partial<PlotData>
#308
Comments
As a reference, as to "how to use with TypeScript", I find those links provide useful insights: |
chaojian-zhang
changed the title
[TypeScript] Missing property in Partial<PlotData>
[TypeScript] Missing property in Jan 19, 2023
Partial<PlotData>
I fund an other missing property in Partial. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks very much for this handy component!
I tried to look at all examples and API docs available but can't figure out how to make use of
connector
among other properties (e.g.measure
) for a Waterfall chart. I wonder whether there is a generic way to pass those parameters or it's just not possible at the moment?This is the code I have:
The root of the problem seems that only limited number of properties are implemented on
Partial<PlotData>
- including for instance (as shown in example) themarker: {color: 'red'}
property - which is NOT relevant to a waterfall chart at all.Actually, due to my limited knowledge with React/TypeScript, I don't even know how to look at the definition of
PlotData
(it looks not available on this repo?) in order to inspect what properties are actually implemented there - would be helpful if anyone can provide some pointers.This might be related to this: #247
The text was updated successfully, but these errors were encountered: