// Start amcharts
// Chart Daten var chartData = [ {date: new Date(2013,10,25,0,0),t:3.7,h:90.0,p:1022.9}, {date: new Date(2013,10,25,0,5),t:3.6,h:90.0,p:1022.9}, {date: new Date(2013,10,25,0,10),t:3.6,h:90.0,p:1022.9}, {date: new Date(2013,10,25,0,15),t:3.6,h:90.0,p:1022.9}, {date: new Date(2013,10,25,0,20),t:3.6,h:90.0,p:1022.9}, {date: new Date(2013,10,25,0,25),t:3.5,h:90.0,p:1022.9}, {date: new Date(2013,10,25,0,30),t:3.5,h:89.0,p:1023.1}, {date: new Date(2013,10,25,0,35),t:3.2,h:87.0,p:1023.1}, {date: new Date(2013,10,25,0,40),t:3.2,h:86.0,p:1023.1}, {date: new Date(2013,10,25,0,45),t:3.1,h:85.0,p:1023.1}, {date: new Date(2013,10,25,0,50),t:2.9,h:85.0,p:1023.3}, {date: new Date(2013,10,25,0,55),t:2.8,h:84.0,p:1023.3}, {date: new Date(2013,10,25,1,0),t:2.6,h:84.0,p:1023.3} ];
// Start StockChart AmCharts.makeChart("chartdiv", {
//Chart Einstellungen type: "stock", pathToImages: "../amcharts/images/",
//Datesets definieren dataSets: [ {
fieldMappings: [ { fromField: "t", toField: "t" } ],
dataProvider: chartData, categoryField: "date", } ],
//Zeitachse (minPeriod: "mm" für minuten "DD" für Tage) categoryAxesSettings: { minPeriod: "mm", maxSeries: 1000 },
//Chart Panels panels: [ { title: "Panel 1", percentHeight: 100,
//Panel graphs (Datenlinie) stockGraphs: [ { id: "g1", title: "Temperature", valueField: "t", lineColor: "#cc0000", negativeLineColor: "#0099CC", useDataSetColors: false, fillColors: ["#cc0000","#ffffff"], negativeFillColors: ['#0099CC', '#ffffff'], fillAlphas: 0.5
} ],
//Panel Legende stockLegend: { valueTextRegular: "[[value]]", markerType: "square" } } ],
//chart scrollbar chartScrollbarSettings: { enabled: false },
//Chart Cursor chartCursorSettings: { valueBalloonsEnabled: true, graphBulletSize: 1 },
//chart period selector periodSelector: { inputFieldsEnabled: false, periods: [ { period: "MAX", label: "MAX" } ] },
// Einstellungen für alle Panels panelsSettings: { usePrefixes: false } } );