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

Setting Strokecolour on one BaseChartItem using CreateItemStyleDelegate

1 Answer 12 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Allen
Top achievements
Rank 1
Allen asked on 14 Jan 2014, 04:13 AM
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

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 16 Jan 2014, 11:22 AM
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 >>
Tags
Chart
Asked by
Allen
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or