// JavaScript Document

var options = {
    lines: { show: true },
	grid: { hoverable: true, clickable: true },
	hints: { show: true },
	selection: { mode: "xy" },
	xaxis:  { mode: "time", label: "Datum", timeformat: "%d. %b %h:%M", monthName: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], minTickSize: [1, "hour"]},
    points: { show: true },
	yaxis: { minTickSize: [1], tickDecimals: 0 }
  };
  var options1 = {
    bars: { show: true, barWidth: 0.7 },
	grid: { hoverable: true, clickable: true },
	hints: { show: true },
	selection: { mode: "xy" },
	yaxis: {label: "Kampagnen", minTickSize: 1, tickDecimals: 0 },
	xaxis: {label: "Sponsor", ticks: 0},
	legend: {container: $("#legend1")}
  };
  var options2 = {
    lines: { show: true },
	grid: { hoverable: true, clickable: true },
	hints: { show: true },
	selection: { mode: "xy" },
	xaxis:  { mode: "time", label: "Datum", timeformat: "%d. %b %h:%M", monthName: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], minTickSize: [1, "hour"]},
    points: { show: true },
	yaxis: { minTickSize: [1], tickDecimals: 0 },
	legend: {container: $("#legendkamp")}
  };
  var options3 = {
    bars: { show: true, barWidth: 0.7 },
	grid: { hoverable: true, clickable: true },
	hints: { show: true },
	selection: { mode: "xy" },
	yaxis: {label: "Kampagnen", minTickSize: 1, tickDecimals: 0 },
	xaxis: {label: "Sponsor", ticks: 0},
	legend: {container: $("#legend2")}
  };
  var options4 = {
    bars: { show: true, barWidth: 0.7 },
	grid: { hoverable: true, clickable: true },
	hints: { show: true },
	selection: { mode: "xy" },
	yaxis: {label: "Kampagnen", minTickSize: 1, tickDecimals: 0 },
	xaxis: {label: "Sponsor", ticks: 0},
	legend: {container: $("#legend3")}
  };
  var options5 = {
    bars: { show: true, barWidth: 0.7 },
	grid: { hoverable: true, clickable: true },
	hints: { show: true },
	selection: { mode: "xy" },
	yaxis: {label: "Kampagnen", minTickSize: 1, tickDecimals: 0 },
	xaxis: {label: "Sponsor", ticks: 0},
	legend: {container: $("#legend4")}
  };
