Completed
Last Updated: 10 May 2016 08:11 by ADMIN
Mikee
Created on: 14 Jan 2014 14:08
Category: Kendo UI for jQuery
Type: Feature Request
26
DataViz Chart should support drawing a horizontal line
If you need to draw a horizontal line in Kendo DataViz Chart (to express desired target value for budget consumption, for example), you have now only two possibilities using line series or plot bands. Unfortunately both approaches have drawbacks:

1) Using additional line series
In this case the line doesn't start at the beginning of the image of the chart, there is visible margin. Also, the determining of number of values for the line series is painful in case you have multiple series with different value counts bind on server side.

2) Using plot bands
In this case the actual width of the band is dependent on the scale of the chart, which can be dynamic depending on data. So this approach is not usable if you want a line width specific width.

What we need is draw a simple line with given width, color and brush.
1 comment
ADMIN
Petyo
Posted on: 10 May 2016 08:11
The following how-to article demonstrates how to utilize our Drawing API to overlay custom plot bands:
http://docs.telerik.com/kendo-ui/controls/charts/how-to/custom-plot-bands