orders graph

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34555

orders graph works not properly

Attachments:
Last edit: 12 years 10 months ago by slydog.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 10 months ago #34595

Please change the line:
$current_day = sprintf('%03d',date('z',$date))+1;
to:

$current_day = sprintf('%03d',date('z',$date)+1);

in the file administrator/components/com_hikashop/views/dashboard/view.html.php and that should solve the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34639

It helps. Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34680

How to make the day changes in 00:00 instead of 22:00 (or smth like this)
:)
my timezone +2 GMT

Last edit: 12 years 10 months ago by slydog.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 10 months ago #34738

Timezones are not taken into account for the graph calculations. It's kind of complex to handle them as the system is different between the different versions of Joomla and it doesn't have a big impact on the stats so that's why we didn't bother.

We'll add that to the todo list

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34778

Understood, thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34794

Can I change sizes of that graph?

Last edit: 12 years 10 months ago by slydog.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 10 months ago #34798

No the widgets size is fixed.
In the future we want to add a reporting tool where you will have bigger graphs than the dashboard which is just to have quick glance on how your business is doing :)

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34947

I ask because in my language I do not see the number of orders per day.
Long name of the month.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 10 months ago #34948

Well I don't have a solution for now, but we'll have a reporting tool, it's already on the todo list.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 0
12 years 10 months ago #34949

Thanks anyway.
Solved the problem with CSS.


Here is the solution:

div#chartDiv1 {
width: 350px !important;
}
div#chartDiv1 embed {
width: 350px;
}

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum