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

The whiskers on the box plot on the summary page were hard to see in … #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions grails-app/services/ChartService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ class ChartService {
JFreeChart chart = null
Color transparent = new Color(255, 255, 255, 0)

Color subset1SeriesColor = new Color(254, 220, 119, 150)
Color subset1SeriesColor = new Color(110, 155, 73, 150)
Color subset2SeriesColor = new Color(110, 158, 200, 150)
Color subset1SeriesOutlineColor = new Color(214, 152, 13)
Color subset1SeriesOutlineColor = new Color(110, 155, 73)
Color subset2SeriesOutlineColor = new Color(17, 86, 146)

SVGGraphics2D renderer = new SVGGraphics2D(width, height)
Expand Down Expand Up @@ -485,6 +485,11 @@ class ChartService {
chart.plot.renderer.setSeriesOutlinePaint(0, subset2SeriesOutlineColor)
}
chart.plot.renderer.maximumBarWidth = 0.09
chart.plot.renderer.setSeriesOutlinePaint(0, subset1SeriesOutlineColor)
chart.plot.renderer.setSeriesOutlinePaint(1, subset2SeriesOutlineColor)
chart.plot.renderer.setUseOutlinePaintForWhiskers(true)
chart.plot.renderer.setSeriesPaint(0, new Color(110, 155, 73))
chart.plot.renderer.setSeriesPaint(1, new Color(110, 158, 200))

break;

Expand Down