info panel

5 posts, 0 answers
  1. mai
    mai avatar
    8 posts
    Member since:
    Apr 2014

    Posted 09 Sep 2014 Link to this post

    Hi,

    how to change color of info panel ?
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 11 Sep 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. mai
    mai avatar
    8 posts
    Member since:
    Apr 2014

    Posted 11 Sep 2014 in reply to Victor Link to this post

    Thanks for reply,
    i refer to ChartTrackBallBehavior
    can i change color of ChartTrackBallBehavior and chnage text inside it ?
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 16 Sep 2014 Link to this post

    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.

     
  6. mai
    mai avatar
    8 posts
    Member since:
    Apr 2014

    Posted 24 Sep 2014 in reply to Victor Link to this post

    Many Thanks, it is working fine with
Back to Top
DevCraft banner