Hello Georgi,
The StartX, EndX, etc properties do not represent coordinate points, they merely show where the line is clipped.The
function which draws the custom line is : y = mx + b, where 'm' is the Slope and 'b' is YIntercept. The
Slope is defined as : (y2 - y1)/(x2 - x1).
In your case, in order to draw a line from Point (2, 2) to Point(5, 30), you would need to define it in the following way:
Hope this helps. A help topic on the matter will be added in the nearest future.
Best wishes,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items