Hi
My fundamental understanding was that series data should line up with categories. This chart renders to that logic:
But:
The dates aren't aligned to series?
And, if you change this date:
new Date("2012/02/10 00:00:00") TO new Date("2012/02/02 00:00:00"),
The chart renders 200 as the value for 2012/02/01?
Just wondering if I could get a bit of an explanation for what I'm seeing.
Thanks
Kieren
My fundamental understanding was that series data should line up with categories. This chart renders to that logic:
function
createChart() {
$(
"#chart"
).kendoChart({
title: {
text:
"Units sold"
},
seriesDefaults: {
width: 2,
markers: {
visible:
false
,
},
overlay: {
gradient:
null
}
},
series: [{
type:
"area"
,
transitions:
false
,
width: 2,
data: [
150, 200, 50
]
}],
valueAxis: {
labels: {
visible:
true
},
line: {
visible:
false
}
},
categoryAxis: {
categories: [
new
Date(
"2012/02/01 00:00:00"
),
new
Date(
"2012/02/10 00:00:00"
),
new
Date(
"2012/02/20 00:00:00"
)
],
baseUnitStep:
"auto"
,
autoBaseUnitSteps: {
days: [1]
}
}
});
}
The dates aren't aligned to series?
And, if you change this date:
new Date("2012/02/10 00:00:00") TO new Date("2012/02/02 00:00:00"),
The chart renders 200 as the value for 2012/02/01?
Just wondering if I could get a bit of an explanation for what I'm seeing.
Thanks
Kieren