9 Answers, 1 is accepted
To see more information along the lines of the requested functionality, please refer to the following example:
http://demos.telerik.com/silverlight/#Chart/DrillDown
I hope this gets you started properly.
All the best,
Yavor
the Telerik team
Hello,
I can not access the link.
My browser displays the following error:
Detalhes dos erros da página da Web
Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Carimbo de data/hora: Thu, 19 Aug 2010 12:11:05 UTC
Mensagem: Unhandled Error in Silverlight 2 Application Object reference not set to an instance of an object. em Telerik.Windows.QuickStart.SilverlightDeploymentManager.LoadAssemblyInDomain(Stream resultStram)
em Telerik.Windows.QuickStart.SilverlightDeploymentManager.<>c__DisplayClass17.<LoadAssembly>b__16()
em Telerik.Windows.QuickStart.LoaderService.ThreadSafeCallBack(Action callback)
em Telerik.Windows.QuickStart.SilverlightDeploymentManager.LoadAssembly(Stream xapStream, String assemblyName)
em Telerik.Windows.QuickStart.SilverlightDeploymentManager.<>c__DisplayClassf.<DownLoadRefAssemblies>b__c(OpenReadCompletedEventArgs e)
em Telerik.Windows.QuickStart.SilverlightDeploymentManager.<>c__DisplayClass12.<StartDownload>b__11(Object sender, OpenReadCompletedEventArgs e)
em System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)
em System.Net.WebClient.OpenReadOperationCompleted(Object arg)
Linha: 1 Caractere: 1 Código: 0
URI: http://demos.telerik.com/silverlight/
The page hangs in the introduction.
It may be lack of any requirement on my machine?
Must be like a Pop up
Thank you!
Can you please revisit the page, and confirm whether the exception persists, or you are able to access the example as expected. It may have been a temporary issue, since the page is working as expected on my end.
Kind regards,
Yavor
the Telerik team
I can now access.
However, I would like the chart to be viewed in another window.
Thanks...
The additional data is shown in a tooltip - can you please specify if you need this to be in a separate window, or if you have another behavior in mind. Any additional information will help me better address the question at hand.
Sincerely yours,
Yavor
the Telerik team
I need it in a separate window.
Where I can insert buttons to export the contents, for example.
Thanks
Most of the logic in the example to which I referred previously, is handled in the following method:
private void ChartItemToolTipOpening(ItemToolTip2D tooltip, ItemToolTipEventArgs args) { RadChart chart = new RadChart(); chart.Height = 200; chart.Width = 300; chart.DefaultView.ChartLegend.Visibility = System.Windows.Visibility.Collapsed; chart.DefaultView.ChartArea.AxisX.LayoutMode = AxisLayoutMode.Inside; string axisItemLabel = RadChart1.DefaultView.ChartArea.AxisX.TickPoints[args.ItemIndex].Label; chart.DefaultView.ChartTitle.Content = string.Format("Quarterly Preview: {0}", axisItemLabel); chart.DefaultView.ChartArea.AxisY.DefaultLabelFormat = "C"; DataSeries series = new DataSeries(); series.Definition = new LineSeriesDefinition(); series.Definition.ShowItemLabels = false; SeriesExtensions.FillWithSampleData(series, 4, (int)args.DataPoint.YValue); string[] quarters = new string[] { "Q1", "Q2", "Q3", "Q4" }; for (int i = 0; i < chart.DefaultView.ChartArea.AxisX.TickPoints.Count; i++) series[i].XCategory = quarters[i]; for (int i = 0; i < series.Count; i++) quarterlyRevenues[i] = series[i].YValue; chart.DefaultView.ChartArea.DataSeries.Add(series); tooltip.Content = chart; } Essentially, instead of showing a tooltip with the data, you can open a window:
http://demos.telerik.com/silverlight/#Window/Silverlight/PopupManager
which can contain additional information on the chart.
I hope this gets you started properly.
Greetings,
Yavor
the Telerik team
It is possible another chart within that window?
Indeed, you can dynamically create the control:
http://www.telerik.com/help/aspnet-ajax/stylingelements.html
and add it to another container. Let me know if any specific issues arise.
Kind regards,
Yavor
the Telerik team