I have a simple column chart.
The datasource has a list of objects which have a few fields.
By default, the Tooltip shows the data field.
I want it to show another field.
Also the objects labels are string which are long.
The strings of the labels which are shown are being cut and they show only 1-3 characters.
I want to show more - at least 20 characters.
I tried.
It just gives when you point on the column, it shows: "Num"
Did you try this:
this.ultraChart1.Tooltips.FormatString = "<ITEM_LABEL>";
Sorry, I couldnt find the answer in this link.
I have a list of objects. the name of the data field of an object, is Num and is int, the name of the label is Text, and is a string type.
I want the label to show the field Text.
It should be just one line of code. Could you please write it?
You can customize displaying of the tooltips with:
“UltraChart.Tooltips.FormatString” property.
More about this you can find:
http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Chart_Label_Formatting.html