new frappe.Chart("#chart", { data: { labels: ["11","12","13","14","15","16","17","18","19","20","21","22","23","00"], datasets: [ { name: "sees", chartType: "bar", values: [3.00,3.90,5.99,10.50,65.03,65.06,10.63,65.06,0.00,125.65,0.00,154.33,0.00,0.00] }, { name: "€/MWh", chartType: "bar", values: [3.00,3.90,5.99,10.50,65.03,65.06,10.63,65.06,153.40,125.65,193.74,154.33,131.46,116.26] } ], 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 } });