You must be logged in to post your query.
Home › Forums › Chart Support › IntervalType interval
Hi.
I’m trying test charts with real data from a data base. The format of the data are (2012, 07, 16, 12, 40) (YYYY MM DD hh mm) I’d like in the axix X the interval be 1 minute (AXIS X: 12:31 12:32 12:33 12:34 …) but when I put in this way always appears on java error. Here the data.
axisX:{ interval: 1 , intervalType: “minute” , valueFormatString: “hh:mm” , labelAngle: -50 },
data: [ { type: “Line”, lineThickness:3, axisYType:”secondary”, showInLegend: true, name: “Testing”, dataPoints: [ { x: new Date(2012, 07, 16, 12, 31), y: 11 }, { x: new Date(2012, 07, 16, 12, 32), y: 20 }, { x: new Date(2012, 07, 16, 12, 33), y: 30 }, { x: new Date(2012, 07, 16, 12, 34), y: 10 }, { x: new Date(2012, 07, 16, 12, 35), y: 21 }, { x: new Date(2012, 07, 16, 12, 36), y: 50 }, { x: new Date(2012, 07, 16, 12, 40), y: 10 } ] }
What am I doing bad? Thank you in advance.
Chart Types are case sensitive. Please change chart type from “Line” to “line” and it should work fine.
You are right. Thank you very much.
You must be logged in to reply to this topic. Login/Register