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

Assistance with locating x,y values in chart

1 Answer 27 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 07 Jan 2014, 08:27 AM


I was looking at the code of Kendo Chart to find out how the points (for line chart) are plotted from a single dataItem. While researching I found out that you are using a Box2D method from where you are creating a property which contains (x1,y1, x2, y2) and with this property you are plotting the points with there average values.

I  was unable to found out that from where you are retrieving these values (x1,y1,x2,y2).   If you can please show me the path (function) from where you are converting these values then it will help me to find a solution.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 09 Jan 2014, 11:57 AM
Hello Steven,

I am not sure how you want to use the point box but I can show you how to reach it. Each chart holds a reference to all elements that it renders(points, labels, notes, connectors....). -=Live example=-

Note: This is unsupported and all plotArea is private.

Regards,
Hristo Germanov
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
Steven
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or