Hi all,
I have created a scatter chart in a composite chart and have added a series of data to it.
I am wondering whether there is any function to define a text against every point in the graph (similar to excel).
Thx in advance
Try getting the last service release from:
http://es.infragistics.com/Membership/Default.aspx?panel=Downloads
Hi Teodor,
If the above bug is fixed, which patch should I update ?
Do let me know.
Thanks.
Unfortunately this is a bug. I have entered it into our bug tracking system (BR32667) and fixed it, so it will be a part of the next release.
ScatterChartAppearance scatterApp = chartApp.ChartTypeAppearance as ScatterChartAppearance;
textApp.Row = -2;
textApp.Column = -2;
scatterApp.ChartText.Add(textApp);
Hashtable labelHashTable = new Hashtable();
this.ultraChart1.LabelHash = labelHashTable;
...
public class MyLabelRenderer : IRenderLabel
{
/// <summary>
/// Initializes a new instance of the <see cref="MyLabelRenderer"/> class.
/// </summary>
}
/// This is called for each label item being rendered.
/// <param name="context"></param>
/// <returns>
/// The string to be displayed for the current label.
/// </returns>
XYDataPoint xyPoint = this.xySeries.Points[row];
Hi Tedor,
Thanks for your reply..
I did that and its working fine....but i can ploy only either the X axis or Y Axis value....but i need the label column..
I am able to do that ONLY as a tooltip as below....
this.ultraChart1.Tooltips.Format = TooltipStyle.LabelPlusDataValue;
but i need to display it on the screen not as a tooltip...
when i tried the below one it displays as "ITEM_LABEL" on the screen...
CT1.ItemFormatString = "<ITEM_LABEL>";
Help me to solve my issue.... Thanks.....
You can try something like:
More about formatting of the labels you can find here:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Chart_Label_Formatting.html