remove extra color in bar series

6 posts, 0 answers
  1. Masoud
    Masoud avatar
    15 posts
    Member since:
    Aug 2013

    Posted 08 Jul 2015 Link to this post

    hi i can change color but still i have any color in my bar series

    i want remove white color and Be consistent colors

    just blue color

    remove gradient color

  2. Milena
    Admin
    Milena avatar
    201 posts

    Posted 09 Jul 2015 Link to this post

    Hello Masoud,

    You can achieve this by retemplating the Style of the bar series and remove the masks from it. You can see how to do this in the following forum post: Remove gradient from bar chart.

    I hope this helps.

    Regards,
    Milena
    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Masoud
    Masoud avatar
    15 posts
    Member since:
    Aug 2013

    Posted 09 Jul 2015 Link to this post

    hello milena

    thank you for helps

    i want to change color and i cant accessible to template itemstyle

    how i can accessible it ?

  5. Milena
    Admin
    Milena avatar
    201 posts

    Posted 14 Jul 2015 Link to this post

    Hello Masoud,

    You can set the ItemStyle of the series in its constructor and change its color as it is shown in our help article Styling the Chart Series:
    BarSeriesDefinition barDefinition = new BarSeriesDefinition()
    {
        ItemStyle = this.Resources["MyBarStyle"] as Style
    };

    barDefinition.Appearance.Fill = new SolidColorBrush(Colors.Orange);

    I hope this information will help you to customize the chart per your requirements. 

    Regards,
    Milena
    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
  6. Masoud
    Masoud avatar
    15 posts
    Member since:
    Aug 2013

    Posted 19 Jul 2015 in reply to Milena Link to this post

    hi

    thank you milena

    i want change Gray line

    but i cant find location for this here

     

     

  7. Milena
    Admin
    Milena avatar
    201 posts

    Posted 20 Jul 2015 Link to this post

    Hi Masoud,

    You can see how to change the Background of the Plot Area in our help article Styling the Plot Area. You can use PlotAreaStyle  property of the chart to achieve this. 

    In addition, I would ask you to keep the communication for a particular topic in a single thread. This way we will be able to track the issue easier, organize our communication history better and assist you in a more convenient manner. If you have another questions, not related to the current topic - the "extra color in bar series", I would ask you to open a new thread. We appreciate your understanding in this matter.

    Regards,
    Milena
    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
UI for WPF is Visual Studio 2017 Ready