Hi all,
how can i display custom ToolTips which relies on more than one data column when moving over data series items.
These code snippet displays the Y-Axis values as ToolTip:
this.CHART_H2O.Tooltips.Display = TooltipDisplay.MouseMove;
this.chart.Tooltips.Format = TooltipStyle.Custom;
this.chart.Tooltips.FormatString = "<DATA_VALUE:00.##>";
What I need is the X-Axis value plus the Y-Axis value such as "(<Y-Value>, <X-Value>)". Even better would be a szenario in which i can display a third column value in the tooltip like this: "(<Y-Value>:<Z-Value>, <X-Value>)"
The documentation is a little poor on the topic.
I'm using Version 10.3
Thanks!
Hello skalyniuk,
Here are the updated links - https://es.infragistics.com/help/aspnet/chart-customize-chart-tooltips, https://es.infragistics.com/help/aspnet/chart-customize-labels-using-the-irenderlabel-interface.
Actually the error when clicking on the link is, Server Error in '/' Application.
Hi
The links to the Infragistics help pages no longer work from this topic, is it possible to get them updated please?
I just get page not found, thank you.
Hi have similar requirement
i have a chart which has a timeseries date.
x axis label is formated as
xAxis.Labels.ItemFormatString = "<ITEM_LABEL:MMM>";
y axis label is formated as
yAxis.Labels.ItemFormatString = "<DATA_VALUE:#0.#>";
i have implemented IRenderLabel as shown in following example.
help.infragistics.com/.../
but i am not getting how the hashtable is to be created and added to the labelhash.
in the above example following is the code used for labelhash but i am not getting what MY_VALUE is...i have already assigned Itemformatstring to x and y axis which i cant change
thanks
utkarsh
Hi,
you gave me the determining advice! Actually the custom coding was very easy. I implemented IRenderLabel. The only line of code in the ToString member is
return "Datum: " + ((System.DateTime)context["TIME_VALUE"]).ToShortDateString() + " - Wert: " + context["DATA_VALUE"].ToString();
In addition I followed the information given in https://es.infragistics.com/help/aspnet/chart-customize-labels-using-the-irenderlabel-interface
See the result.
Thanks!!