This is a migrated thread and some comments may be shown as answers.

PieChart Legend with SQLDataSource

1 Answer 52 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 06 Nov 2015, 04:21 PM

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

1 Answer, 1 is accepted

Sort by
0
Kurt Kluth
Top achievements
Rank 1
answered on 06 Nov 2015, 09:23 PM
Issue has been resolved and is no longer an issue.
Tags
Chart (HTML5)
Asked by
Kurt Kluth
Top achievements
Rank 1
Answers by
Kurt Kluth
Top achievements
Rank 1
Share this question
or