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

Hide series name

1 Answer 63 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jianjun
Top achievements
Rank 1
Jianjun asked on 09 Jan 2014, 02:24 AM
Hi All,

I'm using telerik asp.net controls to develop a dashbard. Here I met an issue that I cannot hide a chart(pie chart)'s seriesitem name. I'd like to not show the series name in chart but show it(name and vlue) in tooltip. Is there a way to now show the seriesitem name? Thanks.
Here is the code, I did not want to show "Available Machine" and "Unavailable Machine" in my chart.
<telerik:RadHtmlChart runat="server" Skin="Metro" ID="TestPurposePieChart" CssClass="telerikpiechart">
 
                        <ChartTitle Text="Ops Server Percentage">
 
                            <Appearance>
 
                                <TextStyle FontFamily="Segoe UI,Tahoma,Century" Color="White" />
 
                            </Appearance>
 
                        </ChartTitle>
 
                        <PlotArea>
 
                            <Series>
 
                                <telerik:PieSeries Name="Server Percent" DataFieldY="Data" NameField="Name" >
 
                                    <LabelsAppearance Visible="false" />
 
                                    <TooltipsAppearance DataFormatString="{0}%" Color="White" />                                   
 
                                    <SeriesItems>
 
                                        <telerik:PieSeriesItem Name="Available Machine" Y="30" BackgroundColor="Green" />
 
                                        <telerik:PieSeriesItem Name="Unavailable Machine" Y="70" BackgroundColor="Red" />
 
                                    </SeriesItems>
 
                                </telerik:PieSeries>
 
                            </Series>
 
                        </PlotArea>
 
                    </telerik:RadHtmlChart>

1 Answer, 1 is accepted

Sort by
0
Jianjun
Top achievements
Rank 1
answered on 10 Jan 2014, 02:39 AM
Solved by setting Legend to false.
Tags
Chart (Obsolete)
Asked by
Jianjun
Top achievements
Rank 1
Answers by
Jianjun
Top achievements
Rank 1
Share this question
or