Hi gfazioli,
unfortunately I cannot give you an access to my customer site.
To replicate the bug, you simply have to enter “wpbannerize_analitycs_report” page, select a checkbox of a single banner, and try to draw a chart.
It simply does nothing; it loads for a while and then nothing.
The admin-ajax call pass this parameters:
target=chart-morris-impressions
action=wp_bannerize_report_impressions_chart
date_from=2017-02-22+00:00:00
date_to=2017-03-22+09:19:00
category
accuracy=days
banners[]=17852
and this is the response object:
{"success":true,"data":{"args":{"info":{"total":"0.00","average":"0.00","total_unique":"0.00","average_unique":"0.00"}},"chart":{"barSizeRatio":0.75,"barGap":3,"barOpacity":1,"barRadius":[0,0,0,0],"xLabelMargin":50,"barColors":["#ed5a61","#92b46f"],"stacked":true,"xkey":["title"],"ykeys":["impressions_count","impressions_unique_count"],"labels":["Impressions","Unique"],"ymax":"auto","ymin":0,"hideHover":"auto","axes":true,"grid":true,"gridTextColor":"#888","gridTextSize":"12","gridTextFamily":"sans-serif","gridTextWeight":"normal","resize":true,"rangeSelectColor":"#eef","padding":25,"numLines":5,"eventStrokeWidth":1,"eventLineColors":["#005a04","#ccffbb","#3a5f0b","#005502"],"goals":[0,0],"goalStrokeWidth":1,"goalLineColors":["#ed5a61","#92b46f"],"parseTime":true,"xLabelAngle":0,"element":"chart-morris-impressions","functions":["hoverCallback","formatter","dateFormat"]}}}
but i cannot view any chart.
Thanks
Eduardo