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: [0.24,0.22,0.21,0.21,0.23,0.23,0.28,20.06,35.44,70.19,81.05,76.67,62.76,0.00] }, { name: "€/MWh", chartType: "bar", values: [0.24,0.22,0.21,0.21,0.23,0.23,0.28,20.06,35.44,70.19,81.05,76.67,62.76,46.70] } ], 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 } });