Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: Can't see bar graph in ExampleUI plugin

$
0
0
Thanks! Glad it was not just me. :)

One more question -- I am a PHP novice, so this may sound dumb -- but when I click "Day," "Week," , or "Month" on the Evolution Graph section of the ExampleUI plugin, it gives me strange points on the x axis. Instead of seeing the last 30 days' for "Month," I see the last 30 months. The same happens when I click "Weeks:" 12-Nov to 18-Nov-12, 19-Nov to 25-Nov-12, etc. -- 30 points of this up until the current week.

I tried changing the "last30" variable in the getTemperaturesEvolution to $date, but it gave me different results -- 26 data points, from 10-Dec to 16-Dec-12, etc. I'm guessing this is a default value somewhere?

How would I change it so when a user clicks "Week," it only shows the past 7 days' temperature values? (Or 30 days for "Month." :)) I did notice it works by day if you put in a date range.

Viewing all articles
Browse latest Browse all 13117

Trending Articles