Does the ZedGraph API allow us to create a radar chart? An example of a radar chart can be seen at http://www.internet4classrooms.com/excel_files/radar_chart3.gif and is also listed below.
Language used: C#, getting data from a database dynamically and shown on the radar chart.
You can do it in ZedGraph using polar plot or any similar type of chart, here is some example:
[link broken] http://zedgraph.org/wiki/index.php?title=Polar_Plot_Demo
This should show you how you can do a chart like this. It shouldn't be any problem.
maybe also take a look on this example:
[link broken]
http://zedgraph.org/wiki/index.php?title=Contour_Chart_Demo
I don't think you can do it in ZedGraph, but I did come across this example in VB.NET (it could probably easily be translated to C#) for a different charting application: OpenFlashChart - A radar chart example with VB.NET.
Related
I've been using Winforms and the built in Charting library to accomplish this task in a hacky sort of way, but the team I'm developing for wants a more interactive solution. I wish I was able to just stack several charts, but as the graph is representative of a digital timing diagram, they need to share the same x-axis. I'm looking at LiveCharts as a solution, but I can't figure out if it's possible to vertically stack the multiple y-axis items to achieve my end goal. Ideally, it would look like this:
It's very important that I maintain them as one chart so that they share the x-axis, and comparisons can be made within the same chart timing wise.
The data getting used is from a generated log file, and is not collected in real time. I would manually offset the data, but the user can choose the order in which the graphed lines are displayed, so I would have to go through the entire series and offset it each time the user moved it.
Perhaps livecharts is not the way to go here? It needs to be a free implementation of something, or SciCharts v2.2 (but I can't find archived documentation) as those are the only resources I currently have access to.
While your question doesn't specifically relate to SciChart, you have tagged it, so I have a suggestion for you.
There is a vertically stacked axis feature in SciChart WPF. This allows you to substitute the YAxis Container template for anything you want. In this example we use a UniformGrid. The result is as follows:
Several traces are on the same plot, but at different vertical positions. Each axis is stacked one over each other. They share the same XAxis and hence response to zooming, panning, tooltips as if they were one chart.
The source code to the above is on the Example Webpage. All the scichart WPF Examples source code is hosted on GitHub so if you click through to the above then scroll down to source and click 'View on Github' you can see how we have achieved this type of chart.
Disclosure to community: Im the tech lead on the SciChart project
I am developing an application using ASP.net MVC4.
My usecase has a requirement to implement slider bar whose change in values should affect a 3d pie chart. I couldn't find sample examples online or implementation.
I would be a great help if somebody could provide an insight on this.
Looking forward to hear from you all ASAP.
Thanks in advance:
Following are the details about how a slider and pie chart should look like with MVC4 ASP.net C# implementation.
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Slider/Slider.aspx
http://www.i36.tinypic.com/2wduhkn.png
You can use Jquery UI Slider for the slider and a HighCharts pie chart for the graphic.
I'm looking to buy or build a spline chart (just like one here) in C# .NET for which the data points can be draged by mouse and the resulting underlying dataset changes.
Could some one point me in the right direction?
I've been making interactive spline charting using native .NET WinForm charting controls. MSDN has an expansive demo of these features, one of which is chart interactivity.
Samples Environment for Microsoft Chart Controls
You could try using the Silverlight toolkit.... LINK
But what is the problem you are having with the Visifire chatrs you have shown in example ?
I need to display several graphs which have a common X Axis and a legend. What I want to achieve is displayed on the picture. The main goal is to have several Y Axis on the one line, not paralelly. So, several curves can be displayed without intersection with each other.
I know how to display several graphs, but then each of them has its own legend and Y Axis.
I worked with ZedGraph in two of my projects and it doesn't seem to support this feature. Basically, you have two options at this point:
1. Use another plotting library
If you don't have a lot of things depending on ZedGraph already, maybe it's not too late for switching to another plotting control. I worked with this library (CodeProject link), and it has a decent look and support for stacked graphs:
It's less feature-rich compared to ZedGraph, but if 2d-plotting is all you really need, you should probably give it a try.
2. Cheat by creating multiple ZedGraph panes
You can make all your graphs panes have the same width and the same zoom. By setting IsSynchronizeXAxes property to true you make sure that all the panes on ZedGraph control have their X-Axes synchronized automatically.
There are few useful articles to help you achieve the effect you want. Although in Russian, they provide code samples and illustrations and should be of use even without understanding the comments.
Plotting multiple graphs on single ZedGraph control
Multiple graphs layout
Synchronizing zoom and pan on multiple graphs
Aligning graph panes properly
You should also hide X-axis and everything else that you don't need. Single legend is tricky but can be achieved by only showing a legend for the topmost graph and adding fake dummy curves with no points to this graph to populate the legend.
Anyone knows if this is possible? If yes is there any sample code so I can easily just put my data and get my chart?
There is no such thing as a C# Chart. I think what you are referring to is Microsoft Chart Controls.
Check here for examples.