Hello
I want to write a custom tooltip on a scatter chart that depends on the underlying data set that acts as data source for the chart. Problem is the data column I want to display is not the label for the point or the data value.
How do I do this?
Thanks
Try using DATA_VALUE_X and DATA_VALUE_Y. Those should work for the scatter charts.
And here's an updated link:http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html
Hi,
I know this is an old thread, but I have the same problem and the link you provided doesn't work anymore.
I have a datatable as the datasource for my chart. It has two columns X and Y.
The <Data_Value> shows me the X value. I want my tooltip to show: (X value,Y value)
I would suggest implementing IRenderLabel for this. You can get row, column, value and other information about the datapoint you mouse over. Hopefully this will be enough to look up the value in the datatable that you are looking for.
You can follow an example in this link with the exception of setting the format string on chart.Tooltips instead of chart.axis.labels:http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html