solved jrCharts problem

SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Coming back to this from a while back:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/2226/problem-with-charting-with-jrcharts

I am trying to chart on profile_view_counts for week, month and year using this function:
{jrCore_list module="jrProfile" chart_field="profile_view_count" chart_days="7" tpl_dir="jrNovaFuse" template="artists_views_row.tpl" pagebreak=$_conf.jrNovaFuse_default_pagebreak page=$_post.p}

I have chartable view counts in the jrCharts databrowser:
jrProfile profile_view_count 10

But there isn't any change in the chart from week to month. I don't think anything has ever moved at all. Here are the charts:
http://www.fuseyourmusic.com/song_chart

How can I check the chart data? And are there any docs? I'm sure there were some before, although maybe that was in the old readme on the jrChart info tab.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 02/24/14 05:11:31PM
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Ah, I can see the chart data for each item with debug.

It looks like it is doing it's thing, so maybe its just my misperception.

If there are any docs around they would be useful.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
michael
@michael
12 years ago
7,821 posts
I just went to that song_chart link. The one thing I see as weird is the position icon.

I went to "Grunge Band" profile and the chart_count went from 15 to 16.

So I went to one further down the list ("big concert band") that had a down arrow on it but was 8 views equal with "Punk Band".

After viewing "Big Concert Band"'s profile the down arrow disappeared and it jumped up above "Punk band" with its chart_count up to 9.

What I expected to see was an up arrow next to "Big Concert Band" but instead it was a - arrow.

Might be right if it dropped then returned to where it was. Seams to be moving though.
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
Thanks Michael, Yes it's definitely incrementing the counts.

There is a page for jrCharts in the docs, but it shows as an empty page - just wondering if there is a permissions problem on that page hiding the docs from my login?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,149 posts
SteveX:
There is a page for jrCharts in the docs, but it shows as an empty page - just wondering if there is a permissions problem on that page hiding the docs from my login?

It's just a stub - no documentation there at this time.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,589 posts
I'll turn my brief notes into a better stub then.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
I'm trying to add another page of charts, charting on a field named user_ujCollaborator_item_count.

I can see the field listed in the jrCharts tool, but no chart data is being entered in to the jrCharts db when the user_ujCollaborator_item_count is incremented.

Am I missing a step to be able to chart on a new module's field? Or is it that the chart data is added later (on daily maintenance) rather than at the time the field is incremented?

Thanks!


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,149 posts
SteveX:
Or is it that the chart data is added later (on daily maintenance) rather than at the time the field is incremented?

Yep - this is it. Basically how the charts work is that during daily maintenance the charts module looks through all registered data stores for fields named "%_count", and starts tracking it. So the next day you should see chart history entries for your field.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
Yep, that does help.

Thanks Brian!


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,149 posts
SteveX:
Yep, that does help.

Thanks Brian!

Awesome - glad to hear it. Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags