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

plot points fill property should take scalar #7228

Closed
scottdraves opened this issue Apr 24, 2018 · 0 comments
Closed

plot points fill property should take scalar #7228

scottdraves opened this issue Apr 24, 2018 · 0 comments
Assignees

Comments

@scottdraves
Copy link
Contributor

def plot = new Plot(title: "Changing Point Size, Color")
def y1 = [6, 7, 12, 11, 8, 14]
def y2 = y1.collect { it - 2 }
def y3 = y2.collect { it - 2 }
def y4 = y3.collect { it - 2 }
plot << new Points(y: y1)
plot << new Points(y: y2, size: 10, color: Color.black)
plot << new Points(y: y3, size: 15, color: Color.orange, outlineColor: Color.black)
plot << new Points(y: y4, size: 20, outlineColor: Color.red, fill: false)

this should not crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants