This question is locked. New answers and comments are not allowed.
hi, i am trying to change axis label color like below but it doesnt work, its color always black;
CategoricalAxis horizontalAxis = new CategoricalAxis(this);
// both doesnt work
horizontalAxis.setLabelTextColor(0xFF9DCC00);
horizontalAxis.setLabelTextColor(Color.CYAN);
CategoricalAxis horizontalAxis = new CategoricalAxis(this);
// both doesnt work
horizontalAxis.setLabelTextColor(0xFF9DCC00);
horizontalAxis.setLabelTextColor(Color.CYAN);
6 Answers, 1 is accepted
0
Gökhan
Top achievements
Rank 1
answered on 22 Jul 2014, 07:00 AM
also tried:
horizontalAxis.setLabelTextColor(getResources().getColor(R.color.claretRed));
still doen not work
horizontalAxis.setLabelTextColor(getResources().getColor(R.color.claretRed));
still doen not work
0
Accepted
Hello Gökhan,
Thanks for writing.
You should simply set your settings after you have set the axis to the chart. This is because, unlike Silverlight/WPF, the Android UI framework does not have a property system and our palettes override your settings after the axis has been added to the chart.
Please write again if you need further assistance.
Regards,
Victor
Telerik
Thanks for writing.
You should simply set your settings after you have set the axis to the chart. This is because, unlike Silverlight/WPF, the Android UI framework does not have a property system and our palettes override your settings after the axis has been added to the chart.
Please write again if you need further assistance.
Regards,
Victor
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Gökhan
Top achievements
Rank 1
answered on 22 Jul 2014, 08:23 AM
thanks it solved problem
0
Hello Gökhan,
I am happy we were able to help you out. I will proceed and I will close this ticket now.
Please feel free to reopen it at any time, should you face any additional issues on the subject.
Thank you for your time and all best!
Regards,
Antony Jekov
Telerik
I am happy we were able to help you out. I will proceed and I will close this ticket now.
Please feel free to reopen it at any time, should you face any additional issues on the subject.
Thank you for your time and all best!
Regards,
Antony Jekov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Chris
Top achievements
Rank 1
answered on 11 Sep 2015, 09:06 PM
Victor - the information you provided in your answer belongs in the documentation. Certainly it belongs in the guides (and if it is already there, its hard to find).
0
Hi Chris,
Thanks for the feedback.
We will definitely expand the explanation of the palettes and the styling since some customers are still having trouble with this.
Regards,
Victor
Telerik
Thanks for the feedback.
We will definitely expand the explanation of the palettes and the styling since some customers are still having trouble with this.
Regards,
Victor
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