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

System evolution graph empty #22

Closed
Leviter opened this issue Jan 12, 2018 · 4 comments
Closed

System evolution graph empty #22

Leviter opened this issue Jan 12, 2018 · 4 comments
Labels

Comments

@Leviter
Copy link

Leviter commented Jan 12, 2018

When running gulp system-evolution-analysis --dateFrom=2017-01-01 --dateTo=2017-12-31 --layerGroup=Code --timeSplit=1m I see that it runs without errors. Also I see 4 generated files in the output folder. They all have data that look fine...

When I go to the report, the graphs are empty.

In the Javascript console of the browser I see the following error message a couple of times (4 times to be exact):

d3.min.js:2 Error: <path> attribute d: Expected number, "MNaN,409.60493827…".

@Leviter
Copy link
Author

Leviter commented Jan 12, 2018

Found out that this happens when I specify a dateFormat (I had it set to YYYY-MM-DD).

@smontanari
Copy link
Owner

Interestingly the default dateFormat is indeed YYYY-MM-DD. How do you specify it? I want to see if I can replicate the issue

@Leviter
Copy link
Author

Leviter commented Jan 16, 2018

I added it to the gulpfile.js. In the meantime I already removed it, but it was something like this:

require('code-forensics').configure(
  {
    "dateFormat": "YYYYMMDD",
    .......
  }
);

@smontanari
Copy link
Owner

thank you @Leviter. I was able to re-create the issue and it's definitely a bug. I'll look into it, for the time being you might have to stick with the original YYYY-MM-DD format for things to work

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

No branches or pull requests

2 participants