Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Mar 12, 2020

resolves #3939 | Demo
by adding new attribute unselected.line.color.

TODO:

  • finalize attribute name
  • add test

@plotly/plotly_js
cc: @chriddyp

},
editType: 'calc'
},
editType: 'calc'
Copy link
Collaborator

Choose a reason for hiding this comment

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

if color has editType: 'plot' and it's the only thing in these containers, they can have 'plot' as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I recall, Etienne mentioned that for containers we should use calc.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe containers should use the most intense editType of anything inside them, and should use calc if there's any array or arrayOk attribute inside.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the note regarding arrayOk items.
Changed all to plot in b4dabb2.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃

@archmoj archmoj merged commit add15b1 into master Mar 14, 2020
@archmoj archmoj deleted the res3939-parcoords-context-line-color branch March 14, 2020 18:50
@archmoj archmoj added this to the v1.53.0 milestone Mar 14, 2020
@nicolaskruchten nicolaskruchten modified the milestones: v1.53.0, v1.55.0 Mar 15, 2020
@archmoj archmoj removed this from the v1.53.0 milestone Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature something new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to set parcoords context line color and opacity

3 participants