-
Notifications
You must be signed in to change notification settings - Fork 17
Enable stacked rendering for horizontal bar charts #18
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
Conversation
|
This looks reasonable - but I'm not the Graph expert. @kore is. Could you provide a test case however? Something similar to https://github.com/zetacomponents/Graph/blob/master/tests/renderer_2d_test.php#L392..L430? |
|
Test case added. I'm not sure its coverage is the best, but it's a start at least. |
|
What else do I need to do to get this merged? |
|
Not much, I was hoping for @kore to review this... as he's the original author. Let's give him a few days. |
…d to all datasets
… dataset on radar plots
|
There seems to be another feature included in this PR, a new I am not aware of the code enough any more to be able to tell if this could have side effects on anything. Will probably be fine to merge. |
|
Yeah, I'm not all that familiar with GitHub so I don't really know how to continue to add code to the repository without also adding to this pull request. I'm OK with merging all of this, but if you are not is there a way to just merge the patch we were discussing? |
|
So, anything else I need to do before merge? |
|
This has been sitting for a while...anything else that needs to be done? |
|
Sorry - holiday season and all that! From what I understand, there are three commits for all three different features? It only looks like the first one has a test case? It's probably better to add a test case for each commit as well, and then split this up into three pull requests (although, I guess, that's a bit of an overkill). But having a test case for each feature, is going to be sort of a requirement. The code looks good though! |
|
EDIT: Needed to refresh to see your post. Is there a way to just pull in the first commit on GitHub or do I need to fork multiple copies of the Zeta Components repository to break up the pull request? |
|
I think your best bet is to do the following (crossing fingers I didn't make typoes!)
In general, you should never commit anything to master, but always make a branch - for both features and bug fixes. That way, you can organise your work much more easily, and not have multiple features/fixes in one pull request. If you have any issues wrangling GIT, feel free to join us on IRC on FreeNode/#zetacomponents. I'm in there as Derick. |
|
Understood. I know how to get GIT to do what is desired, I just didn't realize each PR on GitHub needed to be from a separate branch. I'll try to get to this in the next few days. |
|
Continued in #19 |
This enables proper rendering of horizontal bar charts in stacked mode. This is functionally identical to the vertical mode.