Multiple streams chart - Multiple area streams with solid fill

Multiple area streams with solid fill

keyboard_arrow_leftGo back
Open in JSFiddle
JavaScript
chart= new TimeChart({
    "stacks": {
        "default": {
            "type": "based",
            "separateNegativeValues": true
        }
    },
    "series": [
        {
            "name": "Min temperature",
            "type": "line",
            "data": {
                "index": 1,
                "aggregation": "min"
            },
            "style": {
                "smoothing": false,
                "lineColor": "#eab404",
                "fillColor": null
            },
            "stack": "default"
        },
        {
            "name": "Average temperature",
            "type": "line",
            "data": {
                "index": 1,
                "aggregation": "avg"
            },
            "style": {
                "smoothing": false,
                "lineColor": "#b0dc0b",
                "fillColor": "#b0dc0b"
            },
            "stack": "default"
        },
        {
            "name": "Max temperature",
            "type": "line",
            "data": {
                "index": 1,
                "aggregation": "max"
            },
            "style": {
                "smoothing": false,
                "lineColor": "#2fc32f",
                "fillColor": "#2fc32f"
            },
            "stack": "default"
        }
    ],
    "container": "demo",
    "data": [
        {
            "units": [
                "h"
            ],
            "url": "\/data\/temperature-kuldiga-h.json"
        }
    ],
    "toolbar": {
        "fullscreen": true,
        "enabled": true
    },
    "interaction": {
        "resizing": {
            "enabled": false
        }
    }
})
HTML
      <script src="https://cdn.zoomcharts-cloud.com/1/latest/zoomcharts.js"></script>
      <div id="demo"></div>
                  
Data