using flips plugin with jqBarGraph plugin

using flips plugin with jqBarGraph plugin

Hi all,

I am using the flips plugin ( link) to rotate parts of the screen on a time interval works great. I am also using jqBarGraph plugin ( link) to show Graphs on the website works also fine.

But when I try to combine these two plugins it does not seem to work anymore  .

some code:
    1. <script type="text/javascript">
    2. arrayOfDataMulti = new Array(
    3.      [[22,1,8,3],'']
    4. );

    5.     $(document).ready(function () {
    6.  $('#TEST').html();
    7.  $('#TEST').jqBarGraph({
    8.       data: arrayOfDataMulti,
    9.       colors: ['#242424','#437346'] ,
    10.         legends: ['Major','Minor'],
    11.         legend: true,
    12. height: 200,
    13. width: 170,
    14. legendWidth: 100,
    15. type: false,
    16. showValues: false
    17.       });
    18.     });
    19.     
    20.     $(document).ready(function () {
    21.       $('#flips1').after( '<div class="to-flips1" id="flips1">' + $('#flips1').html() + '</div>');
    22.       $('#flips1').flips( { autorun_delay:1000, direction: 'right' } );
    23.     });
    24. </script>

    25. <!-- start flips JIRA -->
    26.       <div class="to-flips1" id="flips1">
    27.         <div class="content">
    28.           <div class="block">
    29.             <div class=""> Test bar </div>
    30.             <div class="">
    31.               <div class="block">
    32.    <div id="TEST"></div>
    33.      </div>
    34.             </div>
    35.           </div>
    36.         </div>
    37.         <div class="navigation"></div>
    38.       </div>
    39.        <!-- end flips JIRA -->
                                                                                    someone any ideas??

                                                                                    Thanks