-
Notifications
You must be signed in to change notification settings - Fork 23
An 339629/scatter trendlines #118
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
Conversation
|
🎨 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-118 |
|
🎨 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-118 |
|
|
||
| // export const isLineTypeArray = (lineTypes: LineTypes): lineTypes is LineType[] => { | ||
| // return lineTypes.some((lineType) => typeof lineType === 'string' || isStrokeDashArray(lineType)); | ||
| // }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this guy just get forgotten? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I pasted that there as a reference of how to write a typeguard.
|
|
🎨 Storybook -> https://opensource.adobe.com/react-spectrum-charts/PR-118 |
olsonjb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I think it'd be nice to fit another story under Scatter or Trendline, but I don't think it's a must have


Description
Support trendlines for scatter plots
Motivation and Context
Trendlines should be supported by all continuous chart types
How Has This Been Tested?
Existing tests pass. New tests were added
Screenshots (if appropriate):
Types of changes
Checklist: