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

Remove dependencies on jStat, Moment and Moment-Range #83

Merged
merged 7 commits into from
Nov 26, 2014
Merged

Remove dependencies on jStat, Moment and Moment-Range #83

merged 7 commits into from
Nov 26, 2014

Conversation

markjose
Copy link
Contributor

I've also been through as much as I can a checked all examples and documentation for references to the above dependencies.

Mark Jose added 3 commits November 26, 2014 14:39
…s may break some of the data filters that filter weekends;

.filter(function (moment) {  return !(moment.day() === 0 || moment.day() === 6);  })

should be changed to:

.filter(function (date) { return !(date.getDay() === 0 || date.getDay() === 6); })
Candlestick
OHLC
Relative Strength Index
This was referenced Nov 26, 2014
@markjose markjose mentioned this pull request Nov 26, 2014
@tlsim
Copy link
Contributor

tlsim commented Nov 26, 2014

Looks ok. Is the ternary op on line 52 of dataGenerator inverted? Also the sum of uniform's on line 83 is probably good enough for our purposes, but keep the other method if you like.

@markjose
Copy link
Contributor Author

You are absolutely correct it was, well spotted. We can leave both in and then maybe allow the user to select it with a property further down the line.

tlsim added a commit that referenced this pull request Nov 26, 2014
Remove dependencies on jStat, Moment and Moment-Range
@tlsim tlsim merged commit d31f857 into d3fc:master Nov 26, 2014
@jleft
Copy link
Contributor

jleft commented Nov 26, 2014

The app and recreations are broken and need the newly built files to work.

The Gridlines example still links to some of the removed files.

@markjose
Copy link
Contributor Author

Ah, I didn't build the dist files and check them in as I haven't installed grunt on my machine at home.

If somebody could do that there or I'll sort it tomorrow in the office.

@jleft
Copy link
Contributor

jleft commented Nov 26, 2014

No worries, I'll do that now :)

@andyaiken
Copy link
Contributor

Done.

From: Mark Jose [mailto:notifications@github.com]
Sent: 26 November 2014 4:32 PM
To: ScottLogic/d3-financial-components
Subject: Re: [d3-financial-components] Remove dependencies on jStat, Moment and Moment-Range (#83)

Ah, I didn't build the dist files and check them in as I haven't installed grunt on my machine at home.

If somebody could do that there or I'll sort it tomorrow in the office.


Reply to this email directly or view it on GitHubhttps://github.com//pull/83#issuecomment-64672436.

chrisprice pushed a commit that referenced this pull request Dec 5, 2016
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

4 participants