Hi, can I set the set the transparency of all data series in the chart ? (without affecting the pallet from telerik summer theme)
Best regards
kristján
2 Answers, 1 is accepted
0
Accepted
Sia
Telerik team
answered on 15 Feb 2011, 10:32 AM
Hi Kristjan Einarsson,
The default palette of our Summer theme is as follows:
<SolidColorBrushColor="#FF168BAC"/>
<SolidColorBrushColor="#FFA9DB18"/>
<SolidColorBrushColor="#FFE8D34C"/>
<SolidColorBrushColor="#FFB38DC8"/>
<SolidColorBrushColor="#FF58BCE0"/>
<SolidColorBrushColor="#FFCCCCCC"/>
<SolidColorBrushColor="#FFADE4B3"/>
<SolidColorBrushColor="#FFA4A3A3"/>
<SolidColorBrushColor="#FF5FB26B"/>
<SolidColorBrushColor="#FF717070"/>
In my opinion the best way to achieve the desired transparency is to add a custom pallette based on the default one but with changed alpha channel. Here is an example:
<telerikChart:RadChart.PaletteBrushes>
<SolidColorBrushColor="#7F168BAC"/>
<SolidColorBrushColor="#7FA9DB18"/>
<SolidColorBrushColor="#7FE8D34C"/>
<SolidColorBrushColor="#7FB38DC8"/>
<SolidColorBrushColor="#7F58BCE0"/>
<SolidColorBrushColor="#7FCCCCCC"/>
<SolidColorBrushColor="#7FADE4B3"/>
<SolidColorBrushColor="#7FA4A3A3"/>
<SolidColorBrushColor="#7F5FB26B"/>
<SolidColorBrushColor="#7F717070"/>
</telerikChart:RadChart.PaletteBrushes>
Please try this approach and let us know if it is not appropriate for your scenario.
Greetings,
Sia
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>