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

Fix Rickshaw/D3 version mismatch. #501

Merged
merged 1 commit into from
Feb 2, 2015
Merged

Fix Rickshaw/D3 version mismatch. #501

merged 1 commit into from
Feb 2, 2015

Conversation

juliusv
Copy link
Member

@juliusv juliusv commented Feb 2, 2015

When Rickshaw was updated to 1.5.1 in
fd43daf,
the Rickshaw upstream package now contained 3 different D3 files:

d3.min.js
d3.v2.js
d3.v3.js

For details on why that is, see
https://groups.google.com/forum/#!topic/d3-js/lXQgKA7mtEw

For the 1.5.1 Rickshaw to work properly (being able to format dates with
D3 without causing a JS error), it needs d3.v2.js or d3.v3.js, not the
d3.min.js one. I chose to update us to d3.v3.js now, since that is the
most recent and minified version, and I didn't see any problems with it
(also, the current Rickshaw examples are using that D3 version).

Currently, displaying graphs with a range >14d is broken. This fixes
that.

@beorn7 @brian-brazil

@brian-brazil
Copy link
Contributor

👍

I assume this is tested on /graph and console templates.

When Rickshaw was updated to 1.5.1 in
fd43daf,
the Rickshaw upstream package now contained 3 different D3 files:

d3.min.js
d3.v2.js
d3.v3.js

For details on why that is, see
https://groups.google.com/forum/#!topic/d3-js/lXQgKA7mtEw

For the 1.5.1 Rickshaw to work properly (being able to format dates with
D3 without causing a JS error), it needs d3.v2.js or d3.v3.js, not the
d3.min.js one. I chose to update us to d3.v3.js now, since that is the
most recent and minified version, and I didn't see any problems with it
(also, the current Rickshaw examples are using that D3 version).

Currently, displaying graphs with a range >14d is broken. This fixes
that.
@juliusv
Copy link
Member Author

juliusv commented Feb 2, 2015

@brian-brazil Actually, my brain being weird as it is, I forgot about the existence of consoles again. Fixed.

juliusv added a commit that referenced this pull request Feb 2, 2015
Fix Rickshaw/D3 version mismatch.
@juliusv juliusv merged commit 199a94b into master Feb 2, 2015
@juliusv juliusv deleted the fix-d3-version branch February 2, 2015 23:29
codesome pushed a commit to codesome/prometheus that referenced this pull request Jul 29, 2019
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
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.

2 participants