Skip to content

column names to meta #936

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

Merged
merged 3 commits into from
Jun 17, 2019
Merged

column names to meta #936

merged 3 commits into from
Jun 17, 2019

Conversation

nicolaskruchten
Copy link
Contributor

No description provided.

@nicolaskruchten nicolaskruchten force-pushed the metaname branch 2 times, most recently from e4c3f8e to 8046e9b Compare June 15, 2019 02:11
@nicolaskruchten
Copy link
Contributor Author

@VeraZab ready for review!

@@ -94,6 +95,14 @@ export class UnconnectedDataSelector extends Component {
fromSrc: this.context.srcConverters ? this.context.srcConverters.fromSrc : null,
});

if (this.props.container.type) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, actually, it's possible not to provide trace.type in data, then plotly.js defaults to scatter..
maybe we should encode this in the editor.. this will only be potentially a problem for figures created with an api, where the person did not specify trace.type

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh actually nevermind, I think we'd be handling that here: https://github.com/plotly/react-chart-editor/blob/master/src/lib/customTraceType.js#L9

@VeraZab
Copy link
Contributor

VeraZab commented Jun 17, 2019

looks good to me 💃 !

@nicolaskruchten nicolaskruchten merged commit fa8efc3 into master Jun 17, 2019
@nicolaskruchten nicolaskruchten deleted the metaname branch June 17, 2019 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants