Skip to content
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

249 long strings in chart legend #254

Merged
merged 2 commits into from
Sep 13, 2017

Conversation

alison985
Copy link

@alison985 alison985 requested a review from spasovski September 11, 2017 19:39
@alison985 alison985 added this to the 10 milestone Sep 11, 2017
@alison985 alison985 added the JS label Sep 11, 2017
@@ -234,10 +235,17 @@ const PlotlyChart = () => {
function recalculateOptions() {
scope.data.length = 0;
scope.layout.showlegend = has(scope.options, 'legend') ? scope.options.legend.enabled : true;
scope.layout.legend = {
bgcolor: '#cccccc',

Choose a reason for hiding this comment

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

this is fine but can be shortcutted to #ccc

@spasovski
Copy link

r+

@alison985 alison985 merged commit 95b2061 into mozilla:master Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants