new frappe.Chart("#chart", { data: { labels: ["12","13","14","15","16","17","18","19","20","21","22","23","00"], datasets: [ { name: "sees", chartType: "bar", values: [0.97,-0.04,-0.36,-0.30,-0.04,16.94,94.79,0.00,0.00,146.74,108.25,0.00,73.19] }, { name: "€/MWh", chartType: "bar", values: [0.97,-0.04,-0.36,-0.30,-0.04,16.94,94.79,146.99,166.84,146.74,108.25,85.05,73.19] } ], 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 } });