I have the need to trigger RadChart.CreateItemStyleDelegate in code. Basically I have some logics in CreateItemStyleDelegate to create different styles based on input data. On the initial startup, all UI controls are created and data bound are fine. After that if the user change one of the important attribute on ViewModel, I need to tell the control to re-create styles for all items (throught CreateItemStyleDelegate). Anyone knows what would trigger CreateItemStyleDelegate?
Notes that I am trying to avoid to recreate the entire control.
Thanks,
Notes that I am trying to avoid to recreate the entire control.
Thanks,
5 Answers, 1 is accepted
0
Hello De,
A possible way to achieve the desired is to call Rebind(), but this will recreate the whole control. That is why I suggest you to use the exposed Appearance API. Please let me know if this is an appropriate solution for your case.
Greetings,
Sia
the Telerik team
A possible way to achieve the desired is to call Rebind(), but this will recreate the whole control. That is why I suggest you to use the exposed Appearance API. Please let me know if this is an appropriate solution for your case.
Greetings,
Sia
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0

ajit
Top achievements
Rank 1
answered on 04 Apr 2011, 02:56 PM
For 3D bar chart control it seem this function doesn't get called. I tried it and wanted to change the 3D bar style What to do? Thanks in advance.
Ajit.
Ajit.
0
Hi ajit,
Unfortunately, the CustomDelegate functionality is not supported for 3D series.
All the best,
Sia
the Telerik team
Unfortunately, the CustomDelegate functionality is not supported for 3D series.
All the best,
Sia
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items
0

Kumar
Top achievements
Rank 1
answered on 21 Dec 2011, 03:43 PM
Hello Telerik Team,
We have similar use-case. I want to be able to change the background color of my Chart bars each time I get updated values for the source properties. We don't want to rebind each time. What do you mean by "That is why I suggest you to use the exposed Appearance API."
We have similar use-case. I want to be able to change the background color of my Chart bars each time I get updated values for the source properties. We don't want to rebind each time. What do you mean by "That is why I suggest you to use the exposed Appearance API."
0
Hi Kumar,
Here is list of all available options for styling RadChart:
I hope this helps.
Greetings,
Sia
the Telerik team
Here is list of all available options for styling RadChart:
- using the exposed appearance API, which means setting Appearance.Stroke, Appearance.Fill to the series definition;
- using custom palette (which as I understand is not appropriate for your scenario)
- using custom item style
I hope this helps.
Greetings,
Sia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>