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: [65.89,67.85,69.87,0.00,0.00,0.00,0.00,0.00,-0.01,-1.04,-1.46,-8.09,-5.38,-0.58,16.89,60.61,0.00,0.00,85.01,85.03,0.00,32.21] }, { name: "€/MWh", chartType: "bar", values: [65.89,67.85,69.87,107.69,137.43,164.31,106.00,0.00,-0.01,-1.04,-1.46,-8.09,-5.38,-0.58,16.89,60.61,142.82,225.11,85.01,85.03,38.02,32.21] } ], 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 } });