I'm using the Microsoft Chart Controls for Microsoft .NET Framework 3.5 and am having a spot of trouble getting Data Markers to show on the image.I'm generating the chart at run-time, so can't just use the designer.
Sub New()
MainChart = New Chart
MainChart.Size = New Drawing.Size(500, 200)
[code]....
Which all works lovely, and I get pretty charts.The only problem is that there are no markers on the datapoints.
I am using a Microsoft Chart control (system.windows.forms.datavisualization.charting.chart) in a Windows forms application, vb.net 2008. I use folder paths for the x values in a pie chart. Chart control converts a name like c:ewfolder into c:[newline]ewfolder. I tried adding a slash, making it c:\newfolder, but this only changes it to c:[newline]ewfolder. Is there a workaround for this behavior?
I am using microsoft chart controls in VB.net. The graph data currently comes from my database, but all the series and chart formats were made before runtime. I want to know how to make charts on runtime, being able to select the x axis from my dataset and multiple y columns from my dataset.
Basically I've coded an Excel 2007 project in VB.NET 2010 that allows you to create charts with a fair amount of interactivity. I want the user to be able to save and reopen this workbook and still have that interactivity in any already-created charts, so they don't have to re-create them.
When I create the charts, I use Sheet1.Controls.AddChart(...), which returns a Microsoft.Office.Tools.Excel.Chart with which I can handle events and such. However, when I reopen the file and look through the Sheet1.Controls collection, there are no Chart objects. Accessing the charts through Sheet1.ChartObjects.Chart gives me Interop Charts, when I need the Tools Charts.
I'm having problem with MS Chart chart type column. If there are only 9 bar in the chart like the following picture, then the axis-x label show up properly.
However, there are more than 9 bars bar the chart, the axis-x label wont show up properly, some of them just dissappear.
I don't know it works with only 9 bars? Is there any way to make the chart work properly? Also, if possible, how to make each bar have different color.
I have the smallest dataset in the world that simply consists of a month (text) and and amount. I want to produce a chart showing the month along the y-axis and the value up the x-axis. How do I do it? I have dragged the chart control onto the report page and populated the dataset. The chart shows but nothing like what I would expect. Just to make it simple I populated the dataset with an amount equivalent to the month number so it should show as 1 in January, 2 in Feb etc...However no matter where I drag the dataset's column names I don't get what I want. Where am I going wrong?
I use this simple loop to populate the dataset:
dsSales.Tables("Sales").Clear()
For i As Integer = 1 To 12 dsSales.Tables("Sales").Rows.Add(MonthName(i), i) Next
Anyone got any good examples of using the Microsoft Chart Controls?
What I'm trying to do is use a line graph. What I'm trying to do is graph stock prices. I have the date of each day for the past year in a list of strings called stock_date, and the closing price in another list of strings called close.
How do you get the stock_date to be on the x-axis, and the close price on the y_axis[code]...
I am trying to show my excel chart in visual basic listbox and it does not work. I have added the reference of microsoft.office.interop.excel in my code i have put the range of column "A" and i do not know how to change the range to where the chart is in the excel. Here is my code!
[Code]....
I have attached the excel file screen shot if that can help in any way...So basically When i click on the button in VB than it should show me the excel chart. My code just shows me the column "A" which shows me the "data" column only from the excel file.
I'm using Microsoft chart 2.0 in one of my university projects.At home im using visual basic express 2008 on Windows Vista (32bit) and everything works fine. However I have to demo my project in the university next week.I was going to use my laptop for the demo, which runs on Windows 7 (64bit).I changed the compile settings to 64bit however Visual Express does not seem to recognize Microsoft Chart 2.0 on the laptop. I tried adding the dll file but still no luck.
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?
I 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)
I'm looking for how to set the error markers (red ! marks) in a Windows.Forms.Datagrid. After research I believe they appear after some validation routine, but how do I set these manually? E.g. If each row goes to a stored procedure I'd like to place an error marker whenever the SP returns an error
How 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".
I 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.
So 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
I 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