Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
Custom ToolTip
posted

Hi,

On a UltraDataChart I have the ShowDefaultToolTip set to True.

My chart is bound to a IEnumerable and I set the ValueMemberPath for the series to a field called "SummaryColumn1" or "SummaryColumn2".

See below.  [items is an IEnumerable object and sumaryColumnName is the name of the property]

ColumnSeries series1 = new ColumnSeries

{
DataSource = items,
ValueMemberPath = summaryColumnName,
XAxis = xAxis,
YAxis = yAxis,
IsHighlightingEnabled = true,
IsTransitionInEnabled = false,
ShowDefaultTooltip = true,
};

The Tooltip displays fine. However the Tooltip display the property name as "SummaryColumn1". I need to show a custom text like "Total Price" or something - how do I do that?

Regards,

Naresh Nichani