Back

Time axis limited to year 2013

You can zoom in and navigate within the year.

Documentation Open in JSFiddle
Start Free Trial Purchase

HTML

HTML
<script src="https://cdn.zoomcharts-cloud.com/1/nightly/zoomcharts.js"></script>

<div id="demo"></div>

CSS

CSS
//No CSS for this example 

JavaScript

JavaScript

    var t = new TimeChart(
            {
                container: document.getElementById("demo"),
                data:
                {
                    units:["h"],
                    url: "/dvsl/data/time-chart/temperature-kuldiga-h.json"
                },
                interaction:{
                    scrolling:{
                        limitFrom: 1356998400000, // timestamp or "oldestData"
                        limitTo: 1388534400000, // timestamp or "now" or "newestData"
                        limitMode: "block" // one of null, "scrollBack", "block"
                    }
                }
            }
    );

Data

Data
//Data too large to output
Download Data