How to put text inside to bar of the serie

1 Answer 252 Views
Chart
Sergio
Top achievements
Rank 1
Iron
Sergio asked on 31 Aug 2022, 01:53 PM
can i put text inside the bar?

1 Answer, 1 is accepted

Sort by
0
Accepted
Antoan
Telerik team
answered on 01 Sep 2022, 07:02 AM

Hello Sergio,

In order to show the value of the chart within the chart you can use the ShowLabels property as follows:

<telerik:RadCartesianChart.Series>
                <telerik:BarSeries CategoryBinding="Category"
                                   ShowLabels="True"
                                   ValueBinding="Value"
                                   ItemsSource="{Binding Data}" />
            </telerik:RadCartesianChart.Series>

I hope this information helps. Let me know if you need any further assistance.

Regards,
Antoan
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Sergio
Top achievements
Rank 1
Iron
commented on 01 Sep 2022, 01:24 PM

Tranks for your help, now i have other cuestion, how to change color or size of the label?
Antoan
Telerik team
commented on 05 Sep 2022, 02:09 PM

Hello Sergio,

Currently the only way to customize the Labels in the Chart is to customize the native chart control. For example using handler changed. Can you provide more details on which platforms you would like to customize the Labels so we can provide a solution for the given platform.

In addition I have logged a feature request on your behalf regarding the Label customization, you can follow the public item from the following link: https://feedback.telerik.com/maui/1578552-chart-series-label-customization

I am looking forward to your reply.

Tags
Chart
Asked by
Sergio
Top achievements
Rank 1
Iron
Answers by
Antoan
Telerik team
Share this question
or