Way To Get MS CHART
Mar 2, 2009I'm using VB.NET 2008 and looking for MS CHART I don't think that I have this tool, where to get it please?
View 5 RepliesI'm using VB.NET 2008 and looking for MS CHART I don't think that I have this tool, where to get it please?
View 5 RepliesI 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'd like to get suggestion in both C# and VB.NET I created Chart like the following image:
[Code]....
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.
My requirement is to graph (scatter graph) data from 2 arrays. I can now connect the data from the array and use it on the chart. My question is, how do I set the graph's X- and Y- axes to show consistency in their intervals?
[Code]...
I'm trying this example but it doesn't seem to work. It gives a IndexOutOfRangeException:I'm using a txt file where the columns are Tab seperated.)
Imports System.Windows.Forms.DataVisualization.Charting
Imports System.Data
Imports System.Data.OleDb
[code].....
How do I dynamically add or remove a chart series on a WinForm. To date all my MS Charting experience has been dealing with ASP.Net charts with static sql select statment to a SQL Database. In the new project that I have been assigned I have different cities with different amounts of points that they want monitored. One city might have 3 an another might have 5 or 7 so I can't hard code the amount of series that I need. It needs to be set up so the amount of series can be flexible depending on the city selected and then display those points on the chart.
View 4 RepliesWhen i'm tryed to print Data chart the resolution of the chart changed as shown:
View 3 RepliesI'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?
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.
View 1 RepliesI can not figure out how to get the chart to display the labels. When I try and add labels, the lines get messed up. Also, if I try and do multiple lines it does not always work out very well. I tried different ColumnLabels and they behave very strange as well. What I want is to be able to have several lines. Each with their own label. And also, I want to specify text for each point at the very bottom of the graph. Let me know what suggestions you have. [Code]
View 3 Repliesi wish to create line chart, pie chart and bar chart using vb.net of visual studio 2005.Second question is i wish to copy a few data into datagridview from microsoft office tools such as access or excel using shortcut key 'ctrl+C' and 'ctrl+V'.code to do the 2 functions above without installing additional tools?
View 5 RepliesGot a chart control i wanna make from a data table. the table looks like this:
the chart i want will look like this:
'''
''''
[code].....
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.
Here's my mark-up for the chart:
<asp:Chart ID="chtNBAChampionships" runat="server">
<Series>
<asp:Series Name="Championships" YValueType="Int32" Palette="Berry"
[Code]....
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
ReportViewer1.RefreshReport()
I get this as a result:
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)
View 9 RepliesBasically 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.
how can i use the chart (vb 2010) in order to describe the information's in access database?
View 2 RepliesI've built an extremely useful page that inserts a chart using Office Web Components in ASP (VBScript).The chart looks great, the axes are labeled, background color is set, etc.
Now I want to add a logo image into the chart space. Is there a property for the chartspace object or some other way that I can overlay a small image into the corner of the chart space?
I'm in VB.NET 2008 and I'm using the chart control. I want to fix the range for the y-axis, though.
View 2 RepliesI am doing a bar chart project. my project should looks like this:
The problem i have right now is that i don't know how to draw the rectangle in the right way. my rectangle start to draw at the left top, how do i fix my code to make the rectangle draw start from the bottom? Also, i know how to draw string of my each input value, but i don't know how to print data values inside each bar, centered horizontally and vertically. This is what i have done so far
Here is my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Blue As Brush = Brushes.Blue
Dim Red As Brush = Brushes.Red
[CODE].........................
How I can make 3D pie chart using VB code?
View 5 Repliesi have a Chart made in visual designer in vs2010, with some points added like x=3,8,10 Y=2,8,4. Is there any way to extract value for example for x=5 ?
View 2 RepliesI'm using the chart control but I came to wonder if it's possibly to reset a chart. I mean not just delete the series but resetting everything in it to default.
View 2 RepliesI want to create a chart pie as a graphic file (gif / jpeg) in run time , based on data that the app provides.
View 2 RepliesI am using the MSChart object in VB2010. Live futures data is put into an array, then added one point at a time to a line chart (Chart1, one line only) using (1):
frmChart2.Chart1.Series("data").Points.AddXY(sec10, spreadarray(0, sec10))
All fine and good. However, by the time a few thousand data points have come through, its getting hard to see the detail in the chart, therefore I reset the x-axis so that I just see the last 200 (say) points, using (2):
Chart1.ChartAreas("ChartArea1").AxisX.Minimum = frmPrices.sec10 - CLng(lstChartpts.Text)
...where frmPrices.sec10 is the total number of data points, and CLng(lstChartpts.Text) is the number of points required. So if I have 1000 pts, and I wish to see 200 displayed, the AxisX minimum in this case is 1000 - 200 = 800. Points then start to build again one at a time. I am happy with this except that the Y-axis scaling is still taking into consideration all 1000 data values, so need to reset the Yaxis maximum and minimum. No problem (3):
Chart1.ChartAreas("ChartArea1").AxisY.Maximum = (max of the last 200 values + a small increment)
Chart1.ChartAreas("ChartArea1").AxisY.Minimum = (min of the last 200 values - a small increment)
The problem comes in when I want to change the number of points to display back to "ALL". I could re-write the code to use the max and min of all values, as in (3), but I'd rather just reset the yaxis back to the autoscaling that the chart started out with. I've looked everywhere for a property or method to do this! Or is there a way to autoscale the yaxis according to only the displayed values?
I was trying to bind the telerik chart with below code, then it is thoughing an error as per the screen shot.any one have idea how handle this error.Logic explanation: Am assigning the data table as listdata datasource and trying to bind the data based on table rows count.
Dim listdata As new DataList
listdata.DataSource = ds.Tables.Item(0)
BaselineRadChart.Clear()
[code].....
From my app I use Excel to make a chart, from values I measure up. The chart is a xy scatter type. The chart is saved as a gif, then imported to a picturebox. how to add a trendline to the chart in Excel from .net.
View 3 RepliesWhen I add areas to mschart ,chart is printed in smaller size.
View 4 RepliesI've got a working chart (ASP.NET/VB.NET), over some selected periods of time it has no data, this is expected. When I select a period of time where there is no data I get no chart displayed, just a rectangle of the background colour of the chart.
What I want is to still display the titles, x and y axes etc when there is no data, just an empty chart.
I toyed with the idea of adding a data point outside the time scale of the chart and this worked, I then got an empty graph, but there must be a cleaner way to achieve this.