Setting Strokecolour on one BaseChartItem using CreateItemStyleDelegate

2 posts, 0 answers
  1. Allen
    Allen avatar
    18 posts
    Member since:
    Apr 2013

    Posted 13 Jan 2014 Link to this post

    Hi,

    I have no issue setting the stroke colour of a particular series using any of the below procedures

    http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-series.html#Styling_the_Series_via_the_SeriesDefinition_classes

    http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-custom-item-style.html

    http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-series.html#Styling_Series_via_PaletteBrushes

    However I need a way to set the stroke colour of only one item in a particular series (make it unique to the rest of the other items in  the same series so it can stand out)

    That is I want to provide a default stroke colour by updating the Series Definition as explained here
    http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-series.html#Styling_Series_via_PaletteBrushes

    but on certain conditions I want to change that stroke colour of one item in the series.

    Is this possible?

    Any information is appreciated.

    Thanks
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 16 Jan 2014 Link to this post

    Hi Allen,

    When using the RadChart control we need to know the type of the series that you need to customize. Please elaborate more on your scenario.

    On the other hand, there is an easy way to achieve the required behavior when using our new RadChartView control. You just need to create a custom style targeting the default visual of the series and you will be able to control the color of each point. If you need me to further assist you on your way, just let me know.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top