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

Fix bug in highchart wrapper code. #1285

Merged
merged 1 commit into from
Apr 16, 2020
Merged

Conversation

jpwhite4
Copy link
Member

The code tries to shade the legend background when the data in the chart
are restricted by roles. This happens e.g. when you have user role and
try to plot some supremm data. Pie charts do not have legends so the
series.legendItem property is absent. This change makes sure the legend
background colour is only changed if there is a legend to change.

image

The code tries to shade the legend background when the data in the chart
are restricted by roles. This happens e.g. when you have user role and
try to plot some supremm data. Pie charts do not have legends so the
series.legendItem property is absent. This change makes sure the legend
background colour is only changed if there is a legend to change.
@jpwhite4 jpwhite4 added the bug Bugfixes label Apr 14, 2020
@jpwhite4 jpwhite4 added this to the 9.0.0 milestone Apr 14, 2020
@jpwhite4 jpwhite4 merged commit 25a4d88 into ubccr:xdmod9.0 Apr 16, 2020
@jpwhite4 jpwhite4 deleted the legenditem branch April 16, 2020 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants