Try Now
More in this section

Forums / Designing with Sitefinity / Using Skins in RadChart..

Using Skins in RadChart..

2 posts, 0 answered
  1. H.J.E. Coppen
    H.J.E. Coppen avatar
    13 posts
    25 Nov 2008
    12 Dec 2008
    Link to this post

    I'm using the poll from sitefinity and I want to style it with an skin. But when I add the code below the bars are all the same size. Another problem we're facing is that I need te set the skin in the code but it's already set in the web.config.

    SkinsOverrideStyles="true" Skin="Web20" 

    Here you find our code form the "ResultsBoxNoLegend.ascx".

    <%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Cms.Web.UI" TagPrefix="sfWeb" %> 
        <asp:Literal runat="server" ID="pollTitle"></asp:Literal> 
        <asp:Label runat="server" ID="initialMessage"></asp:Label> 
    <asp:Repeater runat="Server" ID="questionsList"
            <h4><asp:Literal runat="server" ID="questionText" Text='<%# DataBinder.Eval(Container.DataItem, "Text") %>'></asp:Literal></h4
                <asp:Repeater runat="server" ID="answersList"
                            <asp:Literal ID="answerText" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Text") %>'></asp:Literal> 
                            <asp:Literal runat="Server" ID="percentage" Text='<%# DataBinder.Eval(Container.DataItem, "Percentage", "{0:N1}") %>'></asp:Literal><asp:Literal 
                                runat="Server" ID="perentItem" Text="%"></asp:Literal> 
                            <telerik:RadChart runat="server" ID="answerChart" Width="200" Height="17"  
                                ChartTitle-Visible="false" SeriesOrientation="Horizontal" EnableViewState="false" Legend-Visible="false" 
                                <Appearance Border-Visible="false" Border-Color="transparent" BarWidthPercent="100" FillStyle-MainColor="transparent" /> 
                                <PlotArea Appearance-Dimensions-Margins="0,0,0,0" > 
                                    <XAxis Visible="False" /> 
                                    <YAxis Visible="False" /> 
                                    <Appearance Border-Visible="false"
                                        <FillStyle FillType="Solid" MainColor="transparent" /> 
                                            <telerik:ChartSeriesItem /> 
                                <labelappearance position-alignedposition="Right"
    <p><asp:Literal runat="server" ID="votesText"></asp:Literal></p

    Greetings Hugo
  2. Parvan
    Parvan avatar
    151 posts
    24 Sep 2012
    16 Dec 2008
    Link to this post
    Hello H.J.E. Coppen,

    Thank you for contacting us.

    There is a problem with the Skins for RadChart. We will fix this in next version of Sitefinity.
    We are also trying to find workaround for you now and will post it as soon as possible.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered