PieChart Legend with SQLDataSource

2 posts, 0 answers
  1. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 06 Nov 2015 Link to this post

    Would like to have the legend for a pie chart be generated via the SQLDataSource.  What do I need to do in order to make it possible?  Reading a prior post it was mentioned that it would be released in 2012 but don't see any example of how to implement it.

     

    <telerik:RadHtmlChart runat="server" Width="350px" Height="350px" ID="RadHtmlChart1"
                    DataSourceID="SqlDataSource1">
         <Legend>
             <Appearance Position="Top">
             </Appearance>
         </Legend>
         <PlotArea>
              <Series >
                   <telerik:PieSeries DataFieldY="NumResults" Name="Credit Union Count" StartAngle="90" NameField="StatusDesc"   >
     
                   </telerik:PieSeries>
              </Series>
         </PlotArea>
         <ChartTitle Text="Marketing Status">
          <Appearance>
          <TextStyle FontSize="16px"></TextStyle>
          </Appearance>
         </ChartTitle>
    </telerik:RadHtmlChart>

    Thanks

  2. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 06 Nov 2015 Link to this post

    Issue has been resolved and is no longer an issue.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top