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
125
Step-line chart and multiple lines
posted

Hi,

how can I display mutiple lines on a step-line chart?
I would like to show the variations of two different values over the same time scale (purchases and sales of a particular item). I built a DataTable from my database, which has time values on the first column and data values on the other two columns, but when I create a step line chart, only the second column is taken into consideration (purchases column).

How can I make it work? Should I initialize a composite chart?

The final result should be something like this:
http://www.advsofteng.com/images/stepline.png

Edit:
I tried to set up my chart as a composite chart through code, as explained in infragistics documentation and splitted purchases and sales in 2 different datatables, but without succes. I can only see an empty chart with an Y axis vith values between -1 and 1