Hey Friends,
As being new to Infragistics, i have some questions regarding plotting datasets with two numeric columns and need to be plotted against each other.
For example we have data like this:
DateTime
Temp
Length
08/01/2011 07:10:21
11.25
10
08/01/2011 07:10:22
11.27
11
08/01/2011 07:10:23
11.23
14
08/01/2011 07:10:24
11.28
12
08/01/2011 07:10:25
13
and i want to plot Temp against Length i.e. Temp on X-axis and Length on Y-axis.
How can we do this in Ultrachart with chart type as LineChart.
Thanks in advance.
Regards,
Nipun Anand
Hello Nipun,
I try to reproduce your scenario in a small sample. Could you please take a look at the attached file for more details. Please let me know if you think that I didn`t reproduce your scenario or if you have any questions.
Regards
Hi Georgi,
Many thanks for the sample.
I need your help in another issue, in which i want to have Y Axis with scales of custom ranges as shown in the diagram below:
This example was very helpful to me and I thank you. I am need of some extensions to this if I can enlist your expertise. I need to do this sort of thing with true LogLog style axes so that exponential regressions can be plotted as straight lines. The idea is to plot cost capacity curves where vertical is cost ($$) and horizontal is flow. I need three lines on the graph one called "Component" (flow vs cost) which is the cost.capacity curve for the type of component under consideration. It will be a straight line with a distinct slop on the loglog graph. There will need be a vertical line which intersects the x axis and the previously plotted component line called "Flow Now". Additionally I need a horizontal line intersecting the Y axis and the component line at the point the "Flow Now" line also intersects it. The horizontal line will be the "Cost Now" line. The idea is that the user select a flow in th range of the cost capacity curve; the system should plot this selection as the vertical line and also plot the horizontal line indicating the component cost at that flow.
I suppose that I will have to use layers to get three lines on the graph. How to do this is not clear. Also the logrithmic axis type cannot be made to plot as loglog - or at least I have been unable to do it so far. Also unclear is why the X axis must be specified as string continuous.
Simple example:
out put from the regression:
Component 20000 23.16992 28000 29.32628 36000 34.96955 44000 40.24582 52000 45.24052 60000 50.00913 68000 54.59032 76000 59.01237 84000 63.29681 92000 67.46047 100000 71.51688 Flow Now 30000 1 30000 3.977798 30000 6.955595 30000 9.933393 30000 12.91119 30000 15.88899 30000 18.86679 30000 21.84458 30000 24.82238 30000 27.80018 30000 30.77797 Cost Now 10000 30.77797 12000 30.77797 14000 30.77797 16000 30.77797 18000 30.77797 20000 30.77797 22000 30.77797 24000 30.77797 26000 30.77797 28000 30.77797 30000 30.77797
This was done years ago with a much more primitive graphing system. I am rewriting the application in Visual Studio 2010 with Infragistics Winform 2011.1. the original app was done in MS VB v1.0 ( to give you an idea how old it is)
Any guidance you can provide will be appreciated. While I am certain I will figure it out eventually, my employer will not allow me the TIME to study your complex charting system for the two months it would take to learn it. I cite this as a major draw back to your system at least in my case. The learning curve in front of using it proficiently is steep.
Thanks
-Al-