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

Barplot: Specific width for each bar #1261

Open
wants to merge 6 commits into
base: 0.9-work
Choose a base branch
from
Open

Conversation

jee7
Copy link

@jee7 jee7 commented Mar 13, 2014

Regarding: #25

Regarding the comment posted there:

  • It shouldn't assume that the new attribute is the last one anymore. But it does assume that the new attribute is the fourth one.
  • I'm not sure this third coordinate is actually necessary. What does it do? Currently it seems that it's just a placeholder for 0.
  • Pointformat has seemed to come later than the previous pull request. Added that in this impl.

I'm not sure this is the most elegant approach. But, yes, now the xmin, xmax, ymin and ymax have to be checked for each point. Because any of them can be one of those values with the new dynamic bar width.

Also created an example page, where different plots can be tested out.

@@ -1416,6 +1417,44 @@ Licensed under the MIT license.

var xmin = topSentry, ymin = topSentry,
xmax = bottomSentry, ymax = bottomSentry;
var deltaLeft, deltaRight, shiftedVal;
Copy link
Member

Choose a reason for hiding this comment

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

These should be declared in the function scope that they are used (L1424)

@jee7
Copy link
Author

jee7 commented Mar 14, 2014

I have no idea how to read and fix this Travis CI build error that keeps occurring...

@nschonni
Copy link
Member

I fixed the build error on the 0.9-work branch so I'm just going to open and close this to get GitHub to recalculate the merge

@nschonni nschonni closed this Mar 25, 2014
@nschonni nschonni reopened this Mar 25, 2014
@dnschnur dnschnur added the triage label Apr 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants