Advanced Charts
Installation and Configuration
Here you go.
{jrCore_list module="jrAudio" chart_field="audio_file_stream_count"
chart_days="0" pagebreak="50" page=$_post.p}
{if $item.chart_direction == 'up'}
{if $item.chart_change > 10}
{assign var="chart_image" value="hot_up"}
{else}
{assign var="chart_image" value="up"}
{/if}
{elseif $item.chart_direction == 'down'}
{if $item.chart_change > 10}
{assign var="chart_image" value="cool_down"}
{else}
{assign var="chart_image" value="down"}
{/if}
{elseif $item.chart_direction == 'same'}
{assign var="chart_image" value="same"}
{elseif $item.chart_direction == 'new'}
{assign var="chart_image" value="new"}
{/if}