"no data series" template

2 posts, 0 answers
  1. Francesco Vivaldi
    Francesco Vivaldi avatar
    13 posts
    Member since:
    Nov 2009

    Posted 10 Feb 2011 Link to this post

    Hi,

    Can i show a progress bar instead of "no data series" until data become available  for the chart ?



  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 16 Feb 2011 Link to this post

    Hi Francesco Vivaldi,

    You can achieve this by retemplating the NoDataControl:

    <telerik:ChartArea>
        <telerik:ChartArea.NoDataControlStyle>
        <Style TargetType="telerik:NoDataControl">
            <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:NoDataControl">
                <telerik:RadProgressBar IsIndeterminate="True" Height="80" Width="600" />
                </ControlTemplate>
            </Setter.Value>
            </Setter>
        </Style>
        </telerik:ChartArea.NoDataControlStyle>
    </telerik:ChartArea>


    Regards,
    Vladimir Milev
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top