Jump to content

stats graph doesn't show ps 1.6.0.14


Recommended Posts

Hi all!

 

Could someone help us, why not show any graphs in BO / statistics area please?

 

For example: the bo/statistixcs/salea and orders tab put these message

 

 

The following graphs represent the evolution of your shop's orders and sales turnover for a selected period.
You should often consult this screen, as it allows you to quickly monitor your shop's sustainability. It also allows you to monitor multiple time periods.
Only valid orders are graphically represented.

 

But wont show any graphs!

 

I checked the modules, engines but do not see anything to install or switch on!

 

Please explain it, myabe I do not see the solution front of my nose

 

Thanks it

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

I can't remember how long my statistics graphs haven't been working for? I do without them! It is an irritation.

 

I wonder too if I am overlooking something?

 

The last couple of upgrades haven't helped - currently running 1.6.0.14. I did think maybe to replace the stats module files with freshly downloaded ones, but I don't exactly know where these are and so I just put up without the graphs.

 

I don't use the  CSV data to draw missing graphs in other programs either :)

 

?

Rob

Edited by Bob-UK (see edit history)
Link to comment
Share on other sites

  • 3 months later...

hi you all,

 

i was struggling with the same. did not see any graphs.

 

got some reference error: nv is not defined;

 

after a little research i saw the graph scripts were not loaded by the theme.

so i've added:

https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.1/nv.d3.min.css

https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js

https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.1/nv.d3.min.js

 

And my graphs were back.

 

hope this is helpfull

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

maartenvot, this has been confirmed to fix a 1.6.1.5 store with the same problem as well.  Nice submission!

 

edit /admin/themes/default/template/header.tpl

 

by the part that inserts the css files add this just after:

<link href="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.1/nv.d3.min.css" rel="stylesheet" type="text/css"/>

 

 

then by the part that includes the js, just after:

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.1/nv.d3.min.js"></script>
  • Like 1
Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...