I should have included an example.
I want the legend to have 3m Co, Alcoa Inc etc., but no labels on the chart itself.
If I use your set up, I get no labels on the chart, but the legend has Calls1, Calls2 etc.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script runat="server">
protected void Page_Load( object sender, EventArgs e )
{
if ( !X.IsAjaxRequest )
{
this.storeDestinations.DataSource = this.Data;
this.storeDestinations.DataBind();
}
}
private object[] Data
{
get
{
return new object[]
{
new object[] { "3m Co", 270 },
new object[] { "Alcoa Inc", 253 },
new object[] { "Altria Group Inc", 217 },
new object[] { "American Express Company", 58 },
new object[] { "American International Group, Inc.", 53 },
new object[] { "AT&T Inc.", 30 },
new object[] { "Boeing Co.", 24 },
new object[] { "Caterpillar Inc.", 21 },
new object[] { "Citigroup, Inc.", 14 },
new object[] { "Exxon Mobil Corp",180 }
};
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager runat="server" />
<ext:Panel runat="server" Width="650" Height="500" Layout="FitLayout">
<Items>
<ext:PolarChart ID="chartDestinations" runat="server" Animation="true" Shadow="true" Flex="1">
<Background Fill="#FFFFFF"></Background>
<LegendConfig runat="server" Dock="Right" BoxStrokeWidth="0" />
<Store>
<ext:Store ID="storeDestinations" runat="server">
<Model>
<ext:Model ID="Model1" runat="server">
<Fields>
<ext:ModelField Name="Destination"></ext:ModelField>
<ext:ModelField Name="Calls"></ext:ModelField>
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
<Interactions>
<ext:RotatePie3DInteraction />
</Interactions>
<Series>
<ext:Pie3DSeries Donut="40" AngleField="Calls" ShowInLegend="true" Highlight="true" Colors="#94AE0A,#115FA6,#A61120,#FF8809,#FFD13E,#A61187,#24AD9A,#7C7474,#A66111,#222222">
<Label Field="Destination" Display="Rotate" Font="16px Arial">
<Renderer Handler="return '';"></Renderer>
</Label>
<Tooltip ID="Tips1" TrackMouse="true" runat="server" Width="220" Height="28" >
<Renderer Handler="toolTip.setHtml(record.get('Destination') + ': ' + record.get('Calls'));"></Renderer>
</Tooltip>
<Listeners>
<ItemClick Handler="alert('ItemClick');"></ItemClick>
</Listeners>
</ext:Pie3DSeries>
</Series>
<Plugins>
<ext:ChartItemEvents runat="server" />
</Plugins>
</ext:PolarChart>
</Items>
</ext:Panel>
</form>
</body>
</html>