Book For Learning MS Chart Control?
Mar 23, 2009Is there a book for learning the microsoft windows form chart control?
View 3 RepliesIs there a book for learning the microsoft windows form chart control?
View 3 RepliesI am really interested in learning VB .net, but I don't really know where to start. Could anyone recommend a good book or website to start learning.
View 15 RepliesIn my applications I use objects and classes, but when reading SO topics, I have the idea I don't use real OOP principles. For example, I never use inheritance or interfaces. Therefore, I am trying to learn proper OOP (in VB.NET), but I find some concepts quite hard to understand (even after reading a lot about the subjects on SO).So I'm trying to find a book or resource with good practical real-world examples. For instance, I kind of understand examples like using an interface for both Dog and Cat classes when using a EatFood method, but I find it hard to relate it to real-world cases.Ideally these books or resources should cover explanations about:
- when and why to use inheritance or interfaces or abstract classes
- when and why to use private, public, protected, virtual etc.
- best practices in dependency injection /inversion of control
- when to use aspect oriented programming
- using of constructors
- solid principles
- singletons
- encapsulation
Perhaps it's a mix of all kinds of concepts, but I think these are all related to OOP, please correct me if I'm wrong.I would prefer a book/resource with VB.NET examples, but this might be difficult?
I have X and Y data columns coming from database.
I have to show scatter plot chart with Linear, Exponential, Log, power using asp.net chart control.
I've got a datatable with two columns "Status" (string) and "Total" (integer).
Status Total
Success 34
Missing 2
Failed 10
I want to databind this into a pie chart with each Status per slice but I'm not sure what method of data binder is required?
how to load data (Book) to text box when user just enter the book code?how to load data (student) to text box when user just enter the student id?how to write the code when user click the save button , the book quantity(Book) will reduce 1 and the all the data in textbox will save in database(Issue)the interface is like
[URL]
the database is show at
[URL]
the code is
Public Class frmIssue
Dim dt As New DataTable()
Dim rowIndex As Integer = 0
Dim rowIndex1 As Integer = 0
[code]....
I have a chart in Excel that I'd like to use a subtitle on. There is no SubTitle Property on the chart object, so I looked in the Excel User interface and found that you can only create a sub-title by using a text box. The text box looks like its associated with the chart, not the worksheet, so how would I access that text box from code?
View 1 RepliesI can't figure out how to plot anything on this chart...finally got it to actually display a pie chart, now I'm trying to somehow bind a data source to it and from there, select the series data..I have added the database to the project as a data source but I don't know how to bind it to the pie chart. some other info: this db has 100's of tables and the program I'm working on is going to be a "status monitor" of sorts that will contain about 6-8 different types of charts all plotting different info for me in chart form.I want to bind this one data source to all the charts and just have them display different information (based on the sql query perhaps)
View 9 Replieswhere can I get a bar chart control for visual basic.net and windows 7. Mschart.ocx doesn't work.
View 2 RepliesHow use MS chart control with VS 2010?What name reference link I need add to project for use MS chart.I don't see MS chart control in "Toolbox" in VS 2010, what I need do for I will see MS chart control in "Toolbox".If any body can send me link to simple sample "use MS chart in VS 2010".
View 1 RepliesCan any one tell me how the chart control is used in .net framework 2.0 and it will be helpfull if you give any code
View 2 RepliesI can draw a graph with MS Chart Control 6.0 in VB.net. But I can not save it.I write the code:
AxMSchart1.copy() 'to copy the chart into clipboard
But whenever I use one of the flowwing commands: clipboard.GetData, Clipboard.GetDataObject,...I get the error: Exception of type 'System.ExecutionEngineException' was thrown?how to save the graph?
I've just started checking out Chart controls for VS .NET. I've downloaded and installed MS Chart Controls for .NET Framework 3.5 and ZedGraph.I'm trying to decide which would be my best choice. In VB6 I used RMCharts and liked it alot.
ZedGraph, like VS2005, is made to work with .NET Framework 2.0 and seems user friendly. Alot of my clients are still using XP machines without .Net Framework 3.5.
someone tell me where the chart control is in vs2005 .net framework is 2.0
View 2 RepliesSo in this program that I've made, I have 5 tabs. One of them uses this chart control for .NET ver 3.5 that I downloaded from the Microsoft website. The issue is, though, that when I start the program, everything is fine until I click on the tab with the 3 charts on it. The tab freezes a little bit, and it takes a few seconds to load the charts. After this initial hiccup everything is fine, but I've tested this on three computers now and it happens to all of them. Anyone know what I can do to make these charts load faster or smoother? This is quite a roadblock.because otherwise I'd be done I've been working on this project in VB.NET for the past 3 weeks and it's my first time using the language. So far every single one of my questions on here has been answered and all within a day or two
View 5 RepliesIn the com component list there is no Microsoft Char Control selection. How can I find it.
View 1 RepliesI am using the chart control that comes with Visual Studio i have made a a bar chart with it what i am wondering is there any way to be able to click one of the bars and be able to work with that value Pic below:
Attached File(s)
barChartPic.bmp (941.95K)
Number of downloads: 10
I have asp.net chart intervel issue. I am feed data to chart like below
X1 Y1 X2 Y2
100 907 500 2395
100 745 500 2343
100 760 500 2403
Each row is a series in the chart.
In am iterating each row in code and making new serie and adding to chart
series1.Points.AddXY(dt.Rows(i)(0).ToString, dt.Rows(i)(1).ToString)
series1.Points.AddXY(dt.Rows(i)(2).ToString, dt.Rows(i)(3).ToString)
Chart is coming like it is fine. Now I want make interval like 100,200,300,400, 500 (500 is max of the graph). I tried Chart1.ChartAreas(0).AxisX.Interval = 100, It did not worked out.
I am trying to get AxisX interval for MS Chart Control in code behind. But when i try to retrieve the value, it returns zero even though it has a default value.
'Doesn't return the correct value, only returns 0
Dim XInterval As Double = mainChart.ChartAreas(0).AxisX.Interval
[code]....
I have data in data table like below.
I am trying to make graph like below using asp.net chart control (made graph in excel with some test data)
points are X and Y values. lines are linear, exponential, logarithmic and power values.
So how can I make this chart in asp.net (vb.net or c#)?
My published app fails to install because the "assembly is missing" for the Chart Control.
View 3 RepliesI'm trying to present results on an aspx web page where a store procedure parameter is defined by a dropdown list control on the page. I have followed this guide from Microsoft and have my resultset presented in a DataGrid view. But I cannot seem to adapt it to present the resultset in a chart.
As you can see from my VB code below, I thought it would simply be a case of adapting the GridView databind to a Chart. I have tried various other options, and have successfully generated my data in a chart using a hard-coded parameter in an SQL statement on the ASP page. But when it comes to using the control, I get an empty chart.
Below is what I have so far.
Imports System.Data.SqlClient
Public Class Report
Inherits System.Web.UI.Page
[Code].....
I'm trying to plot a graph in VB.Net, using MS Chart Control. I'm receiving streaming data, distance vs X data (Sine wave) and Z data (Cosine wave) every 1 msec. maximum data points varies from 2000 to 5000. I would like to plot this streaming data on a graph, distance on x-axis and two series X data and Z data on Y axix.
View 3 RepliesI amincluding the code I am using below. My problem is syntax. I can't any documentation on the MS Chart control. Th code below I found in various code examples, but I can't seem to find the remaining necessary examples fro labeling the X and Y axis. I have 12 monthly values, Jan-Dec that I am trying to plot. I can the graph to print, but don't know how to lable it. Why does this have to be so hard to discover?
[Code]...
I'd like to use it to do some graphing. I'm trying to make MS Chart Control work, but all tutorials/code snippets that I've seen require ChartName.ChartData to populate the chart. When I enter this, I get the blue squiggly line of death:
Private Sub Form1_Load()
Dim array(1, 1) As Object
array(0, 0) =
[code]....
why this is happening? When I hold the mouse over Chart1.ChartData, I get the message "ChartData is not a member of System.Windows.Forms.DataVisualization.Charting.Chart".
Does anyone of working example of Microsoft StackedArea100 Chart Control?
View 3 RepliesI want to know how to show hide/show series of this chart control through Datagridview Checkbox using vb.net
View 9 RepliesI have a chart control and datagrid in the same page.
I want in a single button click, to populate them both using a datareader.
I have this code:
dg.datasource=reader
dg.databind()
Chart1.Series("series1").Points.DataBind(
[Code].....
The problem is that only one of them is populated (the first databind in the code) and the other databind isn't working.
Im starting to learn how to use the chart control in VB .how you create a "new" column because atm all the time i add series it puts them side by side.Ive looked at the documentation for the control and the examples but they dont seem to cover this , or i could find it .Now how would i assign each series to a new point?So item 1 would go above column 1 and item 2 above column 2 etc.The code i have at the moment is a test code .
Chart1.Dock = DockStyle.Fill
For i As Integer = 0 To 10
Dim newSeries1 As New Series[code]..........
I've got a bar chart on my form which when I click a button, it populates with some data showing the clients net position, which is their assets vs their liabilities. This is shown on a year-by-year basis, so the graph will go up or down accordingly. If the graph goes into negative, or is negative at any stage, I would like it to turn red, and leave the positive values green. I have no idea how to do this, or even where to start looking into the properties. I'm still new to using the charts. How can I make the x-axis labels in increments of 5 from 0, instead of increments of 5 from -1?
View 3 Replies