new frappe.Chart("#chart", { data: { labels: ["03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","00"], datasets: [ { name: "sees", chartType: "bar", values: [0.00,0.00,0.00,54.95,35.53,0.00,0.00,0.00,-0.54,-2.06,-4.90,-6.60,-6.68,-3.32,-1.15,3.50,17.93,61.02,68.63,70.01,0.00,0.00] }, { name: "€/MWh", chartType: "bar", values: [71.05,72.60,65.04,54.95,35.53,5.51,2.02,0.00,-0.54,-2.06,-4.90,-6.60,-6.68,-3.32,-1.15,3.50,17.93,61.02,68.63,70.01,70.75,63.83] } ], yRegions: [ { label: "50", start: 0, end: 50, options: { labelPos: "right" } } ] }, title: "Boileri plaan", type: "axis-mixed", height: 300, colors: ["green","blue"], lineOptions: { dotSize: 8 }, tooltipOptions: { formatTooltipX: (h) => "tund: " + h, formatTooltipY: (s) => s } });