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:
Hello Gerogi,
Thanks, just wanted to verify that we also need to provide printouts of the charts to the end users. In case we provide scrollable axis will the printout come for the chart with complete axis, or the printout will be just the part which is visible in the chart.
Also i wanted to clarify that, presently after plotting the chart, values which are displayed while hovering on the data points are that of the data ValueXColumn of XYSeries. Please see an example below:
Instead, i want data in ValueYColumn of the series to be displayed while hovering on the plotted points.
Presently i am not doing any settings in the code for the same. Can you please suggest what needs to done to achieve the above said.
Also as you can see in the screenshot the legend for the chart is overlapping the labels on the X Axis. Can we get legends displaying the labels horizontally, instead of displaying them vertically one below each other? Please tell how.
Thanks again.
Nipun Aand
I was able to fix the Legend, can you please let me know how to work out the data points issue.
Thanks & Regards,
If you are using scrollable axis and your chart is “Zoom In” and decide to print the chart, then you will see on the paper the same what is in your UltraChart. So maybe the best option for your scenario is to use logarithmic axis.
Regarding your question about the tooltip, you could modify the information in the tooltip if you are using the code below:
ultraChart1.Tooltips.FormatString = "<SERIES_LABEL>" + Environment.NewLine + "<ITEM_LABEL>: <DATA_VALUE:##.##>";
I suppose that for your scenario you need to use <DATA_VALUE:##.##> instead of <ITEM_LABEL>
Please let me know if you have any questions.
I have used <DATA_VALUE:##.##> but i am unable to get the tool tip with Y Axis data.
Actually it is not about formatting the tooltip. As in the sample data below you can see that i have data values in two columns i.e. xAxisData column and yAxisData column. Now in my case i want that the values in yAxisData column should be used for displaying the tooltip rather than values in xAxisData column.
Label
xAxisData
yAxisData
Can you please clarify, how Ultra chart decides, that from a data source, values of which column will be used for displaying as a tooltip.
I was able to resolve the issue by using '<DATA_VALUE_Y>' instead of '<DATA_VALUE>'.
You could find more information about this topic in our online documentation:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinGrid_Row_Layouts.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinGrid.html
Please if you have any questions, feel free to ask me
Hello Georgi,
As i have been going through the Infragistics help for Ultra Win grid which we have got with the Setup, i could not find the topic for GroupRowLayout.
Is this available in the help?
Many Thanks.
This is what i was looking for.
I`m not sure, but maybe you are asking for GroupRowLayoout. Please take a look at the new sample and attached screenshot and please let me know if you think that I misunderstood your request.
Or can we have separate headers for combination of columns.
For example. If we have 4 columns in our grid than
1) 1st 2 columns have 1 common header
2) 2nd 2 columns have 1 common header