Hi,
I'd like to get datas from a xml document that I have exported from mySQL database.
So I want to create charts with these datas, I wrote down the script like this :
<body>
<div id="chart" style="width: 400px; height: 600px"></div>
<script>
ds = new kendo.data.dataSource({
transport : {
read : {
url : "C:/Users/Julien/Downloads/kendo.xml"
}
}
})
$("#chart").kendoChart({
dataSource: ds,
categoryAxis: {
categories: [January,February,March,April]
},
seriesDefaults: {
type: "line"
}
});
</script>
</body>
</html>
Maybe it's totally wrong but I started to learn about Kendo UI and I didn't know so much about AJAX and stuff, so for now I have nothing appearing on my screen.
The thing is that when I wrote some datas in local it works so if someone could help me I'd really apreciate it.
Thanks,
Julien
I'd like to get datas from a xml document that I have exported from mySQL database.
So I want to create charts with these datas, I wrote down the script like this :
<body>
<div id="chart" style="width: 400px; height: 600px"></div>
<script>
ds = new kendo.data.dataSource({
transport : {
read : {
url : "C:/Users/Julien/Downloads/kendo.xml"
}
}
})
$("#chart").kendoChart({
dataSource: ds,
categoryAxis: {
categories: [January,February,March,April]
},
seriesDefaults: {
type: "line"
}
});
</script>
</body>
</html>
Maybe it's totally wrong but I started to learn about Kendo UI and I didn't know so much about AJAX and stuff, so for now I have nothing appearing on my screen.
The thing is that when I wrote some datas in local it works so if someone could help me I'd really apreciate it.
Thanks,
Julien