Changing GraphTitle Style Color

2 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Jun 2019

    Posted 07 Jul Link to this post

    I want to be able to change GraphTitle color (within Graph) or any other style property related GraphTitle via binding expression.

     

    The problem is the graph object does not expose bindings related to its child Graphtitle.

    I have attached a screen shot report, I want to change the GraphTitle color to green if the percentage is higher than 50 else the graph should be red

  2. Neli
    Admin
    Neli avatar
    184 posts

    Posted 10 Jul Link to this post

    Hi John,

    You may use the DataPointLabel instead of the title, so you can set Conditional Formatting rule. Let me give you some further details:
    1) Move the DataPointLabel to center through setting the DataPointLabelAlignment and DataPointLabelOffset properties.
    2) Set the DataPointLabelConditionalFormatting based on the requirements.

    You can take a look at the attached report which demonstrates the approach.

    Regards,
    Neli
    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
Back to Top