This is a migrated thread and some comments may be shown as answers.

info panel

4 Answers 50 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mai
Top achievements
Rank 1
mai asked on 09 Sep 2014, 04:31 PM
Hi,

how to change color of info panel ?

4 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 11 Sep 2014, 08:51 AM
Hello Mai,

Thanks for writing.
Which info panel are you referring to?

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
mai
Top achievements
Rank 1
answered on 11 Sep 2014, 12:22 PM
Thanks for reply,
i refer to ChartTrackBallBehavior
can i change color of ChartTrackBallBehavior and chnage text inside it ?
0
Victor
Telerik team
answered on 16 Sep 2014, 07:37 AM
Hello mai,

Thanks for writing.
You need to create a class that inherits from ChartTrackballContentAdapter.
Then you need to override the appropriate create method. Assuming you have a categorical chart with line or bar series, you need to override the createCategoricalDataPointView method.
In this method your have to create a view that will visualize the value of the given data point.

Then when your class is ready you need to tell the trackball to use it. You can do this by calling
trackBallBehavior.getPopupPresenter().setContentAdapter(yourCustomContentAdapter);

Please write again if you have more questions.

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
mai
Top achievements
Rank 1
answered on 24 Sep 2014, 06:21 AM
Many Thanks, it is working fine with
Tags
Chart
Asked by
mai
Top achievements
Rank 1
Answers by
Victor
Telerik team
mai
Top achievements
Rank 1
Share this question
or