This is a migrated thread and some comments may be shown as answers.
Localization PieChart
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Mehdi
Top achievements
Rank 1
Mehdi asked on 23 Jan 2018, 10:18 PM

Hi. 

Attach an image. When user move mouse over the chart, a tooltip show to the user Value = 1. i want to change "value" text with my Custom text, like "مقدار".

how can do this ?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 24 Jan 2018, 01:44 PM
Hi Mehdi,

You can use the DataPointTooltipTextNeeded event:
private void tooltipController_DataPointTooltipTextNeeded(object sender, DataPointTooltipTextNeededEventArgs e)
{
    e.Text = "My value: " + ((PieDataPoint)e.DataPoint).Value;
}

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Mehdi
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or