This is a migrated thread and some comments may be shown as answers.
How to change default color of the selected bar in Xamarin forms
1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
GT
Top achievements
Rank 1
GT asked on 28 Dec 2017, 05:37 AM

Hi,

In the attached diagram, the bar appears blue when it is selected.

I would like to find out how I can change it to another color when selected  and also how to add a title for the horizontal and vertical axis.

Thanks.

 

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 28 Dec 2017, 07:12 AM
Hi GT,

In order to modify the selected colors of the series you would need to use you own SelectionPallete, similar to what you are using in Pallete property.

chart.SelectionPalette = CustomPalettes.CustomSelectionDark;

Currently, Axes titles are not supported, so you might want to use labels and position them beside the chart. I have logged this as a feature request in our feedback portal where you can track its progress - https://feedback.telerik.com/Project/168/Feedback/Details/239493-chart-add-support-for-axis-title

I have also updated your telerik points.

Regards,
Tsvyatko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
GT
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or