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

Custom drawing circles #123

Merged
merged 10 commits into from Feb 25, 2012
Merged

Custom drawing circles #123

merged 10 commits into from Feb 25, 2012

Conversation

kberg
Copy link
Collaborator

@kberg kberg commented Feb 23, 2012

This includes tests, though no tests for the RegularConvex object. Perhaps a gallery entry? (I should finish up the gallery BTW)

@kberg
Copy link
Collaborator Author

kberg commented Feb 23, 2012

Odd, I thought I just pushed some bug fixes. Why aren't they there?

@kberg
Copy link
Collaborator Author

kberg commented Feb 23, 2012

OK, bug fixes are in. One bug remains, but review can start.

"drawPointCallback": {
"default": "null",
"labels": ["Data Line display"],
"type": "function(g, seriesName, canvasContext, cx, cy, color, pointSize)",
Copy link
Owner

Choose a reason for hiding this comment

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

Either change cx -> x, cy -> y or clarify what the "c" stands for ("pointX", "pointY", "centerX", "centerY"?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Maybe this is a deficiency in the docs specification? What if I added

"params" : {
"cx" : "The x coordinate of the center of the image".
...
}

Also, I was thinking of replacing many (most? all?) of the external references to pointSize with radius. WDYT?

@danvk
Copy link
Owner

danvk commented Feb 25, 2012

Ok, I'll pull. I understand why the overdrawing happens, but it still strikes me as unexpected behavior. But we can figure that out later.

danvk pushed a commit that referenced this pull request Feb 25, 2012
@danvk danvk merged commit 4270a28 into danvk:master Feb 25, 2012
@kberg
Copy link
Collaborator Author

kberg commented Feb 25, 2012

Regarding overdrawing, we should discuss. I think it's not as big a deal as you think; I could be wrong. Thanks for the pull.

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

Successfully merging this pull request may close these issues.

None yet

2 participants