I have been working with Silverlight for some time now but this is my first experience with the charting capability provided by the silverlight toolkit. Basically I am trying to create a pie chart that contains labels for each slice of the pie. The labels can be inside the pie piece itself or outside it makes very little difference to me. My data set is very simple. I have a Result class that contains 2 properties, a name and a count and I am using that as the source for the pie chart.
I have tried to google this but most of the results I get pertain to telerik or other 3rd party controls.
Can someone please share there wisdom on how to accomplish this? Thanks.
Related
I need a help creating gantt chart, that will look like this below
I am using DevExpress 12.2, and WinForms.
It doesn't need to be done with DevEpress, I just need to get that look.
Thank you
It's been a while since this was asked, but I've wanted something like this too. I looked at other WinForms Gantt Chart controls available and found they were pretty complicated. So I made a simple, yet highly-customizable Gantt Chart for WinForms: https://github.com/derekantrican/GanttChart . No DevExpress required
The "month view" that you want isn't supported yet but I'm working on adding it!
It has been a while since I last used DevExpress, but I recently used the following open source control, which is quite easy to implement and well-documented. I strongly suggest you to take a look into it.
Codeplex - .NET Winforms Gantt Chart Control
Also, you could probably do something with the Chart control of .NET but that will just require a lot more work, so I'd give the link I put above a shot.
In case if you are looking for a full-featured interactive Gantt view, you can also check the Scheduler Control - Gantt View.
I Want to use Graphs in WPF.At the moment I am using WPF toolkit to make graphs in WPF but cant find the resources for the step by step procedure to modify the bar graph (colour,size etc).Can anyone please help me or give me the necessary url for doing so...Also can this be used to make 3d charts or if there is any other open source stuff I can use please do mention it.Thanks
Did you tried Dynamic Data Display?
For me, it's the best free charts library available for WPF.
I'm trying to develop a custom control for charting.
I'm using the WPF toolkit, but I can't find how it is possible (is it?) to set a specific color for each piece in a pie chart.
I don't understand why they made this one so complex. Many applications are using specific colors for existing categories, wouldn't be reasonable to use the same in the charting?
I need to create interactive "Three Line Break chart". It is a type of chart that mainly used in financial/stock analysis.
I downloaded ASP.NET chart control samples from msdn and played around with the "Three line break chart" type that included in the package. It looks great but it is not interactive (chart gennerated is an image ) so I can not just use it.
So, I think I need to use Silverlight, I am wondering anyone knows if there is any free Silverlight chart control package that provides this type of chart out of box?
Thanks a lot.
The Silverlight Toolkit provides some charting controls. Samples can be watch here. An other good library that provides chart ist visifire. But you need a licence if you want to use it commercial.
I need to enable zooming on the Silverlight charts I use - at the moment this is Silverlight Toolkit. As far as I've understood the SL Toolkit charts don't support zooming, however I'm looking into implementing this functionality. So far I haven't managed to get far: applying ScaleTransforms to the Series elements doesn't work as expected.
Can anyone provide me with example code on implementing zooming in Silverlight Toolkit?
I've previously looked into implementing zooming on the Silverlight Toolkit charts, however failed because of (probably) the following reasons:
Silverlight Toolkit charts don't seem to have been designed to be able to extend for zooming. There are no hooks that you could easily attack some zooming logic to, if you want to create zooming on them, you have to go much deeer.
The simplest way of implementing zooming is using ScaleTransform and RenderTransform to elements. In case of Silverlight Toolkit you want to apply this to the series. However just calculating the correct ScaleTransform and OffsetTransform are difficult enough
When scaling, you don't want everything to scale. If you zoom in 4x on a line series with points on it, you don't want the line to be 4x thicker and the points to be 4x larger. This means that even if you did implement applying the ScaleTransforms and RenderTransforms correctly, all you would get is a magnifying glass, which is still far from ideal.
After a few hours I gave up on adding this kind of support to the SL toolkit charts and instead looked for other components that support zooming and have a decent API to deal with it. These are the components I've found (though I'm sure there's more):
Visiblox Charts free version: it has a nice API and implenting zooming takes only a few lines of XAML according to this blog post (also see a post on a comparison with SL toolkit charts). Full disclosure: I have been heavily involved in development of this library.
Infragistics xamWebChart also claim to have support for zoom in the premium version of their charts
Telerik RadCharts also seem to allow zooming based on this example - though it's not clear to me whether you'd have to implement this functionality yourself.
Summing it up, I think the easiest way for you to go it with a component that already has zooming implemented - from my experience it would take a lot of investment to add proper zooming + panning to Silverlight Toolkit charts.
You should take a look at user610173's blog post. Specifically, download the full example code here: http://slchartzoomandpan.codeplex.com/SourceControl/list/changesets Very helpful!
Adding to Gergely Orozy comment about Telerik:
You can easily add the Zoom functionality with the following XAML.
<charting:ChartArea.ZoomScrollSettingsX>
<charting:ZoomScrollSettings ScrollMode="ScrollAndZoom" MinZoomRange="0.005"/>
</charting:ChartArea.ZoomScrollSettingsX>
You can check out a demo by clicking here and the source code is also available on that same tab.