*

oscman

  • ****
  • 227 posts
[BUG] Chart doesn't work
« on: March 13, 2017, 02:30:04 AM »
The chart is not working it doesn't update views or clicks
on demo is the same, tried viewing listing and clicking phone and it doesn't update, the demo account has over 100 views but in chart it says 23 views

*

MB Themes

Re: [BUG] Chart doesn't work
« Reply #1 on: March 13, 2017, 07:53:46 AM »
@oscman
It works properly.
- in chart only vies for last 12 months are shown. Note that date must be set for each entry in database
- on item, all views are counted and also views improperly wroten to database are counted (with date 0000-00-00)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] Chart doesn't work
« Reply #2 on: March 13, 2017, 05:27:25 PM »
"Note that date must be set for each entry in database" i don't get it must be set by who?
in listing stats table i see the dates are 000000, could you tell me where is the problem? i made fresh osclass and veronika install and views are not counted.

*

MB Themes

Re: [BUG] Chart doesn't work
« Reply #3 on: March 13, 2017, 05:57:25 PM »
@oscman
If you have it in listing stats table, then it is oclass bug.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] Chart doesn't work
« Reply #4 on: March 13, 2017, 07:00:40 PM »
Osclass stats works just fine the listing get view count on every page refresh, the graph is not mooving at all. in talbe osc_item_stats_veronika there are no listings for some reason. Its a fresh osclass and veronika installation could you think what is wrong? Thanks

*

MB Themes

Re: [BUG] Chart doesn't work
« Reply #5 on: March 13, 2017, 07:16:45 PM »
@oscman
1) you need to look to t_item_stats table for date column, if there are values with 0000-00-00, these are not shown on chart
2) you need to look to t_item_stats_veronika if there are values with 0000-00-00, if yes then you do not use latest theme version as there was fix for this

http://forums.mb-themes.com/veronika-osclass-responsive-theme/(dashboard-statistiscs)-in-user-menu/
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] Chart doesn't work
« Reply #6 on: March 14, 2017, 04:57:11 AM »
oc_t_item_stats are ok, when was the latest update? i downloaded the theme 3 days before and made many changes already

*

MB Themes

Re: [BUG] Chart doesn't work
« Reply #7 on: March 14, 2017, 07:43:19 AM »
@oscman
If you open link I have sent you, you will see date and solution as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] Chart doesn't work
« Reply #8 on: March 14, 2017, 03:30:52 PM »
You are right sorry. How can i remove the listing views text from right section of chart? i have only listinv views in chart.

*

MB Themes

Re: [BUG] Chart doesn't work
« Reply #9 on: March 14, 2017, 03:37:15 PM »
@oscman
It require careful modifications in user-dashboard.php.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] Chart doesn't work
« Reply #10 on: March 14, 2017, 03:43:26 PM »
just found out, remove       
Code: [Select]
legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0,
          itemStyle: {"fontWeight": "normal" }
        },

*

MB Themes

Re: [BUG] Chart doesn't work
« Reply #11 on: March 14, 2017, 07:14:28 PM »
@oscman
Oh you want to remove just legend? I though you want to remove that line.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots