or
var localDataSource = kendo.data.DataSource;
the instruction at http://www.kendoui.com/get-kendo-ui.aspx includes this line:
<
script
src
=
"jquery-1.6.2.min.js"
></
script
>
<
script
src
=
"jquery.min.js"
></
script
>
$(
"#otherEthnicityChart"
).kendoChart({
theme:
"metro"
,
dataSource: {
data: indicator14reportData,
filter: [
{ field:
"DataClass"
, operator:
"eq"
, value:
"OtherChart"
},
{ field:
"Agency"
, operator:
">"
, value:
"E"
},
],
},
title: {
text:
"Other"
},
legend: {
position:
"bottom"
},
seriesDefaults: {
type:
"column"
,
stack:
true
},
series: [
{
field:
"HigherEducationPercent"
,
name:
"Higher Education"
,
color:
"#5084EA"
},
{
field:
"CompetitivelyEmployedPercent"
,
name:
"Competitively Employed"
,
color:
"red"
},
{
field:
"OtherEducationPercent"
,
name:
"Other Education"
,
color:
"green"
},
{
field:
"OtherEmploymentPercent"
,
name:
"Other Employment"
,
color:
"purple"
},
{
field:
"NotEngagedPercent"
,
name:
"Not Engaged"
,
color:
"#F2F471"
}],
tooltip: {
visible:
true
},
categoryAxis: {
field:
"Agency"
},
valueAxis: {
max: 100,
min: 0,
labels: {
format:
"{0}%"
,
max: 100
}
}
});