var FR0000033888_note = { "type": "line", "title":{ "text": "Note Analyste (consensus)", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "plot" : { }, "crosshair-x": { "scale-label": { "transform": { "type": "date", "all": "%d/%m/%y", }, }, }, "series": [ { "scales": "scale-x,scale-y-2", "values": [], "line-color": "blue", "line-width": 3, "text": "Note Analystes", "legend-text": "Note Analystes", "marker": { "visible" : false } }, { "scales": "scale-x,scale-y", "values": [], "line-color": "black", "line-width": 3, "text": "Nombre Analystes", "legend-text": "Nombre Analystes", "marker": { "visible" : false } }, ], "scale-x": { "transform": { "type": "date", "all": "%M%y", }, "items-overlap": true, "min-value" : 0, "max-value" : 0, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "offset-end":"70%", "min-value": -1, "max-value": 1, "max-items": 6, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "scale-y-2": { "placement":"default", "blended":true, "offset-start":"40%", "min-value": 1, "max-value": 5, "step": 1, "markers":[ { "type":"line", "range":[1], "value-range":true, "line-color":"green", "line-width":3, },{ "type":"line", "range":[5], "value-range":true, "line-color":"red", "line-width":3, },], "labels":["Acheter", "Renforcer", "Conserver", "Alléger", "Vendre"], "item": { "font-size": "11px" }, "guide": {"line-color": "rgb(127,127,127)",}, }, "legend": { "layout":"2x1", "x": "60", "y": "25", "item": { "font-size": "11px" } }, "plotarea" : { "margin-right":"20", "margin-left":"60", "margin-bottom":"50", "margin-top":"60", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "utc": true, "timezone": 0, }; zingchart.render({ id: 'FR0000033888_note', data: FR0000033888_note, height: "400", width: "100%" });