This is a migrated thread and some comments may be shown as answers.

how to access json file

8 Answers 107 Views
Charts
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 09 Jan 2014, 07:24 AM
i am struggling to get json data values,
here attached my files please any one help me?

8 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 09 Jan 2014, 04:31 PM
Hi John,

I believe the issue is caused by the data is not a valid JSON. For your convenience I modified the files and attached them back.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
John
Top achievements
Rank 1
answered on 10 Jan 2014, 06:58 AM
It's working 100% but  google chrome it's not working
0
Iliana Dyankova
Telerik team
answered on 10 Jan 2014, 08:19 AM
Hello John,

You have hit the same origin policy. For more detailed information take a look at this help topic.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
John
Top achievements
Rank 1
answered on 10 Jan 2014, 11:57 AM
here i attached two file
Product.html file is the index file ,
that's display one chart .the chart have p1 and p2 value details for month wise,
if i press the p1 jan detail, it's going to display.html page,
The display.html page will display the jan month p1 details in  date wise order
please help me
0
John
Top achievements
Rank 1
answered on 10 Jan 2014, 12:30 PM
product.html page display the chart,
when i click any one it's send that particular data to display.html page,
that page(display.html) show the details day order in chart
example:
if i press p1 jan report,it's send data next page,
display.html page will display day order sales report for(1,2,3,..)in chart
0
Iliana Dyankova
Telerik team
answered on 14 Jan 2014, 11:25 AM
Hello John,

I checked the attached files and it appears you are using nested data - keep in mind the dataSource component is designed to work with flat data and does not supported nested data structures. Hence in order to achieve the expected result I can suggest loading a simple array of objects.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
John
Top achievements
Rank 1
answered on 16 Jan 2014, 05:19 AM
hi,
how to get particular data only from json,
please give any of the sample,
thanks for advance,
0
Iliana Dyankova
Telerik team
answered on 16 Jan 2014, 04:31 PM
Hello John,

I have just posted a reply to the same question in your other thread:
http://www.kendoui.com/forums/dataviz/chart/how-to-filter-json-data-using-kendoui.aspx

Please refrain from posting duplicate questions as we monitor all threads - posting same inquiry more than once produces unnecessary overload.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
John
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
John
Top achievements
Rank 1
Share this question
or