Line chart with smoothing
JavaScript timeline chart with smoothing enabled using 'smoothing: true' string. This will apply easing to the curves and smooth out rough edges for the line.
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
                            
                        
                        
                chart= new TimeChart({
    "series": [
        {
            "name": "Average open price, $",
            "data": {
                "index": 1,
                "aggregation": "avg"
            },
            "type": "line",
            "style": {
                "smoothing": true
            }
        }
    ],
    "container": "demo",
    "data": [
        {
            "units": [
                "d"
            ],
            "url": "/dvsl/data/extra/appl.json"
        }
    ],
    "toolbar": {
        "fullscreen": true,
        "enabled": true
    },
    "interaction": {
        "resizing": {
            "enabled": false
        }
    }
})