Hi
How to give custom colors in donut chart series ? my donut client side code is
<telerik:RadHtmlChart runat="server" ID="DonutChart" Width="500" Height="300" Transitions="true"
Skin="Default">
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<ChartTitle Text="Total Files According to Department ">
<Appearance Align="Center" BackgroundColor="White" Position="Top"><TextStyle />
</Appearance>
</ChartTitle>
<Legend>
<Appearance BackgroundColor="White" Position="Right" Visible="true">
</Appearance>
</Legend>
<PlotArea>
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<Series>
<telerik:DonutSeries StartAngle="90">
<LabelsAppearance Visible="false">
</LabelsAppearance>
<TooltipsAppearance DataFormatString="{0}%"></TooltipsAppearance>
<SeriesItems>
<telerik:PieSeriesItem />
</SeriesItems>
</telerik:DonutSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>
in that i use telerik predefined skin " Default"
and my server side code is
DonutChart.PlotArea.Series.Clear()
Dim col As New DonutSeries()
col.Items.Clear()
For Each row1 As DataRow In dt1.Rows
Dim se As New SeriesItem()
Dim pi As New PieSeriesItem()
se.YValue = row1(1).ToString()
se.Name = row1(0)
col.Items.Add(se)
Next
DonutChart.PlotArea.Series.Add(col)
Here how to give custom skin
like red,yellow,blue,green,black,pink..... upto 10 colors
How to give custom colors in donut chart series ? my donut client side code is
<telerik:RadHtmlChart runat="server" ID="DonutChart" Width="500" Height="300" Transitions="true"
Skin="Default">
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<ChartTitle Text="Total Files According to Department ">
<Appearance Align="Center" BackgroundColor="White" Position="Top"><TextStyle />
</Appearance>
</ChartTitle>
<Legend>
<Appearance BackgroundColor="White" Position="Right" Visible="true">
</Appearance>
</Legend>
<PlotArea>
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<Series>
<telerik:DonutSeries StartAngle="90">
<LabelsAppearance Visible="false">
</LabelsAppearance>
<TooltipsAppearance DataFormatString="{0}%"></TooltipsAppearance>
<SeriesItems>
<telerik:PieSeriesItem />
</SeriesItems>
</telerik:DonutSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>
in that i use telerik predefined skin " Default"
and my server side code is
DonutChart.PlotArea.Series.Clear()
Dim col As New DonutSeries()
col.Items.Clear()
For Each row1 As DataRow In dt1.Rows
Dim se As New SeriesItem()
Dim pi As New PieSeriesItem()
se.YValue = row1(1).ToString()
se.Name = row1(0)
col.Items.Add(se)
Next
DonutChart.PlotArea.Series.Add(col)
Here how to give custom skin
like red,yellow,blue,green,black,pink..... upto 10 colors