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

zoom and scroll bar style

1 Answer 65 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Senthilkumar
Top achievements
Rank 1
Senthilkumar asked on 09 Apr 2013, 09:25 AM
I need zoom and scroll bar style like in second image. I marked existing style in top image and i am expecting styles like in bottom image. Please give me the solution

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 12 Apr 2013, 09:10 AM
Hi,

 I believe that the Chart's Slider in Expression_Dark theme is most close to your requirements - see that image attached. What is left for you to modify is the Background of the RadSlider which you may set to #FF808080. For the BorderBrush and Background of the SelectionMiddleThumb to get modified, you should copy the default Slider style from your local installation folder (RadControls_for_Silverlight5_2013_1_0403_Trial\Themes\ExpressionDark\Themes\Expression\Dark\Charting) and do the modifications.
Then set the new modified style to the chart via our ChildrenOfType() extension method:

this.Chart.DefaultView.ChartArea.FindChildByType<RadSlider>().Style = this.Resources["slider"] as Style;

All the best,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Senthilkumar
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or