Localization PieChart

2 posts, 1 answers
  1. Mehdi
    Mehdi avatar
    15 posts
    Member since:
    Jan 2018

    Posted 23 Jan 2018 Link to this post

    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 ?

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 24 Jan 2018 Link to this post

    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.
Back to Top