Exemplo n.º 1
0
<?php

require_once 'functions.php';
echo getItemCountsJSON(180);
Exemplo n.º 2
0
            <div id="totals_container">
                <div id="totals"></div>
            </div>
            <div id="messages_container">
                <div id="messages"></div>
            </div>
    </div>
</div>
<div id="bottom" class="k-content">
    <div class="chart-wrapper" style="margin:auto;">
        <div id="chart"></div>
    </div>
    <script>

    var items = <?php 
echo getItemCountsJSON(360);
?>
;

    function createChart() {
        $("#chart").kendoChart({
            theme: $(document).data("kendoSkin") || "default",
            chartArea: {
                width: 1400
            },
            title: {
                text: 'Mike\'s Bikes Feed Statistics'
            },
            legend: {
                position: "bottom"
            },