PieSeries' Legend Colors Not Showing

2 posts, 0 answers
  1. Avs8686
    Avs8686 avatar
    12 posts
    Member since:
    Feb 2013

    Posted 20 Aug 2014 Link to this post

    I'm a little confused as to why the little color box next to the series in the legend are not appearing.  I've used other types of charts, but I'm attempting my first Pie Chart and I'm at a loss as to why it's not showing as the legend is something that I basically "set and forget" so to speak.  See attached image.  Code as followed.

    <telerik:RadHtmlChart runat="server" ID="PieChart1" Width="1160" Height="500px" Transitions="true">
        <Appearance>
                <FillStyle BackgroundColor="White"></FillStyle>
        </Appearance>
        <ChartTitle Text="">
                <Appearance Align="Center" BackgroundColor="White" Position="Top" />
        </ChartTitle>
        <Legend>
            <Appearance BackgroundColor="White" Position="Right" Visible="true" /> 
        </Legend>
        <PlotArea>               
            <Appearance>
                <FillStyle BackgroundColor="White" />                   
            </Appearance>
            <Series>                   
                <telerik:PieSeries DataFieldY="Count" NameField="Product">
                    <LabelsAppearance ClientTemplate="#=dataItem.Product# #=dataItem.Percentage#%"/>
                </telerik:PieSeries>
            </Series>
        </PlotArea>
    </telerik:RadHtmlChart>

    DataTable dt = GetData();
    PieChart1.DataSource = dt;
    PieChart1.DataBind();
  2. Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 22 Aug 2014 Link to this post

    Hi,

    I tried to reproduce the issue, but everything seems OK with the version that you have specified (2014.2.724). Can you send me a fully runnable page that demonstrates the problem?

    In addition, does the issue occur in different browsers? If this is the case, can you inform me about the browser version that you are using?

    Regards,
    Stamo Gochev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top