WordPress.org

Ready to get started?Download WordPress

Forums

Tally_graph problem interval display only years on x axis (2 posts)

  1. thiesenmurray
    Member
    Posted 3 years ago #

    Hi,

    I'm using wordpress 3.0 and the latest Tally plugin. I want the interval displaying months but on the X-axis I want to display years. When I set the labels manually the whole line is messed up.

    This is the code with manual axis labels:

    <?php echo tally_graph('key=gegroeide_bomen&tally_interval=month&interval_count=95&to_date=2010-12-10&chxt=x,y&
    chxl=
    0:|2005|2006|2007|2008|2009|2010|
    &chs=940x230&cht=lc&chma=50,50,50,50&chf=bg,s,4a7c4000&chls=5&chco=dc5408&chxs=FF0000&chxs=0,ffffff|1,ffffff'); ?>
    This is the code without the manual axis but then I get the months and the years show up on the X-axis.
    <?php echo tally_graph('key=gegroeide_bomen&tally_interval=month&interval_count=50&to_date=2010-12-10
    &chs=940x230&cht=lc&chma=50,50,50,50&chf=bg,s,4a7c4000&chls=5&chco=dc5408&chxs=FF0000&chxs=0,ffffff|1,ffffff'); ?>`

    The site I'm making is on http://www.groenetaxi.nl/test

    Greetz,
    Thijs

  2. thiesenmurray
    Member
    Posted 3 years ago #

    I'm sorry, this is the code without the custom labels

    `<?php echo tally_graph('key=gegroeide_bomen&tally_interval=month&interval_count=50&to_date=2010-12-10
    &chs=940x230&cht=lc&chma=50,50,50,50&chf=bg,s,4a7c4000&chls=5&chco=dc5408&chxs=FF0000&chxs=0,ffffff|1,ffffff'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic