Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Draw a zero line
posted

Hi everbody,

 I'm using a UltraChart component to draw a barChart. The values can be positive or negative. Depending on values (max minus min),  I calculate and update the rangeMax, the rangeMin and the TickmarkInterval to obtain a good looking graph. (the customer wanted to display tickmark with round values).

Now, I'd like how I could draw a single line horizontally on the graph (where the zero value is). just a single black line starting for a specific point and ending at another one.

My idea is to add a layer and draw the line myself (http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=5432) but is it the best solution?

 here is a an exemple: I'd like to draw the line to separate clearly positive and negative values.

 

 

thanks in advance