Évolution des prix du marché

by Guillaume Seguin

HTML

<script src="https://code.highcharts.com/11.1.0/highcharts.js"></script>

<div id="container"></div>

CSS

#container {
    height: 400px;
}

JavaScript

Highcharts.chart('container', {
    "title": {},
    "chart": {
        "height": 227,
        "spacingTop": 4,
        "spacingBottom": 4,
        "spacingLeft": 0,
        "spacingRight": 0
    },
    "credits": {
        "enabled": false
    },
    "legend": {
        "enabled": true,
        "layout": "horizontal",
        "align": "center",
        "verticalAlign": "bottom",
        "symbolWidth": 10,
        "symbolHeight": 10,
        "padding": 0,
        "itemStyle": {
            "fontWeight": "400",
            "color": "#9e9e9e"
        }
    },
    "tooltip": {
        "useHTML": false,
        "valuePrefix": "",
        "valueSuffix": " €/m²",
        "valueDecimals": 0,
        "shared": true,
        "dateTimeLabelFormats": {
            "millisecond": "%A, %b %e, %H:%M:%S.%L",
            "second": "%A, %b %e, %H:%M:%S",
            "minute": "%A, %b %e, %H:%M",
            "hour": "%A, %b %e, %H:%M",
            "day": "%A, %b %e, %Y",
            "week": "Semaine du %A, %b %e, %Y",
            "month": "%B %Y",
            "year": "%Y"
        }
    },
    "yAxis": {
        "labels": {
            "format": "{value} €/m²"
        },
        "title": {
            "text": "",
            "style": {
                "color": "#242633"
            }
        },
        "opposite": true
    },
    "xAxis": {
        "type": "datetime",
        "tickPositions": [
            1743465600000,
            1711929600000,
            1680307200000,
            1648771200000,
            1617235200000
        ],
        "labels": {}
    },
    "plotOptions": {
        "arearange": {
            "allowPointSelect": false
        }
    },
    "series": [
        {
            "id": "MEDIAN",
            "type": "spline",
            "name": "Prix median",
            "data": [
                {
                    "x": 1593561600000,
                    "y": 2737.585,
             ...