c# visifire(charts) - asp.net

I have developed one silverlight application on .net framework and used visifire for charting i.e. getting updated through MS SQL database.
The main thing is that when i am updating the database the data on chart are getting affected, but the look and feel of the chart is not happening smoothly during the value change.
I have used <vc:DataSeries RenderAs="QuickLine" DataSource="{Binding ItemsSource, ElementName=MyGrid}" > for quickline presentation of the data on graph.
So what changes I have to make in my programm for smooth change in graph statistics after database updation.

"but the look and feel of the chart is
not happening smoothly during the
value change"
What is your expected output and what is the current output? Please explain more in detail. Which version of Visifire you are using? Exactly how you are updating the ItemsSource property? Can you provide C# code and XAML?

Related

Line graph in ASP.NET using Datasource

I am somewhat a beginner in ASP.NET (C#), and I would like to know if it is feasible to draw a line chart of a time-series using data from a SQL table (SQL Server).
I haven't found any control that allows for a drawing of a time-series (i.e. Time as X-axis variable).
Also, I would like for the user to be able to hover over the chart and see data, as demonstrated in the following link:
link
Could anyone please enlighten me as to what is the best way to achieve such a result?
Thank you!
You have quite a few options, Reporting Services provides all sorts of graph and charting mechanisms. A personal favourite of mine is JQPlot. The bonus of the latter is that it's free!
Have you tried the Microsoft Chart controls.
have a look at ScottGU Blog here
I have used it and it works really well. The best part is that itès free ;)
HTH

What is the purpose of a value converter in Silverlight?

I'm just starting to get my hands dirty with silverlight and "value converter" keeps popping up. I don't remember reading about them in the ASP.NET web app world. Is this something special in Silverlight/WPF? What is its purpose?
Thanks!
From this excellent post:
When you’re binding data to controls there will be times when the data needs to be modified or tweaked some on the way into a control or as the data leaves a control and goes back to the source property (during a TwoWay binding for example).  Sure, you can always write code to change a given value, but in many cases it’s much easier to write a simple value converter instead that can be re-used.  In this post I’ll walk through creating a value converter and then show the code for a few of the value converters I find myself using fairly frequently.
There is stark contrast between the web platform and the Windows when it comes to data binding. Especially in WPF / Silverlight / Windows Phone 7. These technologies support databinding differently compared to Web which is stateless.
A very common example of a value convertor is when you want to hide or show a control in WPF / Silverlight. Controls like stack panel have visibility property which is an enum. We can assign values like Visible / Collapse / Hidden to show or hide the stack panel. In most cases the visibility is controlled by a boolean value. So you use a convertor to convert the boolean to visibility.
Another example of value convertor could be formatting of amount fields. Say you want to display 1000 which is stored in the database as $1,000.00 in an amount text box. You can use the value convertor to do so.
The possibilities are endless. You can think of value convertor as a visual representation of something. Another example I can think of is the completion progress of any task. You can show a nice colourful progressbar instead of showing values like 10%, 20%, 30% completed :)
Hope this helps.

Chart column in asp.net repeater/list view / data grid?

I am new to ASP.Net.
How can I add a chart column in an asp.net repeater/list view / data grid (whatever possible)?
I want to feed the chart with data from a dataSet.
Please can somebody through light on this?
Before you try to get a chart in a Repeater/ListView, I'd suggest first ensuring that you can have a single chart display on a page.
Have you already selected a charting library? Microsoft's Chart Controls are a free option if you are using ASP.NET 3.5 SP1 or beyond. They have a bit of a learning curve, but can be used to plot the data from a DataSet.
I'd suggest you start by familiarizing yourself with the Microsoft Chart Controls and once you are comfortable with them I think you'll find them easy enough to add to a ListView/Repeater... if not, you can come back and update your question specifying the problems you're having.
For further information check out: Using Microsoft's Chart Controls in an ASP.NET Application.

Adding Images to an ASP .Net Chart Control

I'm not sure if I titled the question correctly so it would be better if I explained what I'm trying to do. I am using the ASP .Net Chart Control to create a line chart showing numbers of trouble calls based on date. What I would like to do is implement a way of annotating the chart with data whereas if there was a spike in trouble calls a line, or asterisk, etc would direct the viewer to "read notes below for an explanation for why the numbers spiked here".
From the samples for the chart control there is a way you can add a bitmap to the chart, however I don't see how that will be effective here because the explanations will come dynamically from a database.
If anyone's done something like this or has some guidance I'd appreciate it.
Thanks!
I don't know that that's possible with an ASP.NET Chart control. Based on your explanation, it sounds like you could add the notes below the chart for a pretty reasonable solution. Just reference the spikes or anomalies by writing the proper date next to each note.

HTML Reporting Solution

What good components and packages are available for generating HTML reports based on report definitions? I have a truly horrific project where each report is a dedicated aspx page that builds one fantastically big HTML string, which it then assigns to a 'reportBody' Label control.
Standard grids are not a good solution as they provide no grouping capability, but I'm open to buying a grid that is friendly for grouping, printing, and exporting. FYI is one reporting engine option I'll be looking at. What else is there? SSRS may not be an option, as MSSQL may not even be an option.
BTW, this is an ASP.NET web site.
You can try ActiveReports.net
You can use i-net Clear Reports (used to be i-net Crystal-Clear). It has many different output formats like HTML, PDF, Postscript, etc. It can print and of course it supports grouping. It is platform-independent. You can it also use together with your ASP.NET. It support many different database like MS SQL, Oracle, MySQL, etc. But also other data sources are possible. The free and fully functional report designer is very easy to use.
Also, the pricing is far below other reporting tools such as Crystal Reports.
you can still use RDLC reports, and just build them in local mode (no SQL SERVER required). I routinely feed my RDLC reports data from the results of function calls rather than have them intimately tied to the database.
The DevExpress ASPxGridView has proven to be an excellent tool for this job.
Standard grids are not a good solution
as they provide no grouping capability
If you want to create your own, I can give you some advice. First, you could probably create the groups with ROLLUP or COMPUTE statements or similar in your SQL and use a grid.
I went the following route: reports are data-driven, so that I know which columns can be grouped and which ones need totals computed. I use a standard DataGrid, and in the ItemDataBound event, I keep a running total for any columns that require it, and then detect changes in the group column. When detected, I insert a group total, reset the running totals and insert out a new group header.
I did a quick prototype of this in a day. But by the time you work out all the little details to give the reports all the features they need, and make them look just right, you'll spend quite a bit of time and end up with a small mountain of code.

Resources