I been google for some time i only manage to find how to create plotting graph for window app which i wanna to do it on asp.net.. anyone did a temperature plotting graph in asp.net b4? any advice or example ? guide me along..
My whole project is about reading data from textfile(the readings is separated by delimiters) and plotting out the graph. But somehow i am meetnig some problems as i think my method is wrong... It's something like this..what should i do?
Private Sub CreateChart() 'Create some dummy data 'Dim random As New Random() 'For pointIndex As Integer = 0 To 9 ' Chart1.Series("Series1").Points.AddY(random.[Next](20, 100)) Dim h, g As String Try Dim lc As New StreamReader("C:Tempdatalogger" & date1.ToString & "int_ana_" + date1.ToString + ".txt") Dim ff As String '= Label5.Text & ":00" 'Dim sr As String = lc.ReadToEnd Dim line6 = lc.ReadLine Do While Not line6 Is Nothing 'loop until end of file If IsNumeric(line6.Chars(0)) Then Dim fields5() = Split(line6, ";") 'Dim fields5() = Split(s.Substring(sr.IndexOf(ff)), ";") h += fields5(0) + vbCr g += fields5(3) + vbCr End If line6 = lc.ReadLine Loop Catch ex As Exception End Try For pointIndex As Double = 0.0 To 2.0 Chart1.Series("Series1").Points.AddXY(h, g) Next 'line display chart Chart1.Series("Series1").ChartType = SeriesChartType.Line 'set the bar width Chart1.Series("Series1")("PointWidth") = "0.1" 'Show Data points labels Chart1.Series("Series1").IsValueShownAsLabel = True 'Set data points label style Chart1.Series("Series1")("BarLabelStyle") = "Center" 'Draw Chart as 3D Cyclinder Chart1.Series("Series1")("DrawingStyle") = "Cylinder" End Sub '****End of Graph
I am creating a bar graph and line graph. I am using 2 dropdown list for the date and category. The user can chose the date and category that he want to view. I also have a upload button for the user to upload the excel file and dispaly the data in girdview.
However i have error whenever i want to view the graphs.. I have upload my code in the attachment. Pls take a look. I do the coding invb.
I have to desing line chart graph in .rdlc report, can you please help me, i have decimal values on Y-Axis and date time values on X-Axis , i have two series of product, according to product value during specific time i need to display line graph for each product.please do needfull to me.
I been stack for the last few days trying to figure out the SilverLight 4 LineSeries graph, for some strange reason the graph being displayed but the line not being displayed. I am pretty sure that my mistake is something very basic but I been straggling to pinpoint the problem by myself.Bellow is the code that I having problem with.
I have three files which are necessary to mention:
APSX Page called contact-us
Javascript file called googleMaps
XML document called markers
Im placing all google code relevant to plotting markers and creating the map in the googleMaps file.As i am using Master tempaltes and inheritance i have place an onload javascript function called initialize on the body tag to call the jscript file.
Im happy to manually input all of the markers in the script which i have done like so..
[Code]....
Works perfectly fine, but i would like to load in XML data which will no matter the size 10 or 10,000 to plot the markers on this contact-us map using the javascript file.I know there is a solution but as there are a number of solutions and possible ways of doing this, i need to know a dummy's guide to understanding the correct or simple way of doing this.XML Document as shown below:
I found a good tutorial from you about plotting multiple location using Google map.
[URL]..
I'm pretty new in using Visual Studio Web Express and I dont know how to import namespaces and on how to populate marker from SQL server. I have a project solution called GoogleMap and I have the HTML codes as my homepage but I don't know where should I put in those codes for VB.Net. I also have the database created.
There is a database (SQL Server) with locations (longitude and latitude values). I need to plot the route on the map (Google or otherwise) based on those locations extracted from database. Plotting lines and map are on ASP.NET webpage.
What would be the most and cost-effective way to accomplish the task above?
I am plotting a chart using charting control. The x-values are text values and y values are date values.
If there is same text multiple times, then the plotted chart has multiple bars of same value. I want the values for the same text to be on the same bar.
I have got a graph with x number of datapoints, the data for the graph is coming from a stored procedure. I want to make the labels for the datapoints hyperlinks and I believe the best way to do this is with an ImageMap.
I am needing some advice/guidance in achieving this. I understand how to use the imagemap control, but I need some in how to add the hotspots on pageload.
I have a store procedure which will return the pixel coorinates of each datapoints on the graph, I just need some with the code and how to loop through each record and add a hotspot for it.
I have this tooltip that looks like the preview of a graph.
However, the graph in the tooltip is not able to come out, and I think it's mainly due to the name. Below is a portion of the code for the tooltip.
[Code]....
My product name has more than one word (e.g. Yuppy Gummy) and the tooltip is only able to retrieve the 'Yuppy' part of the whole product name. I also have a query that makes use of the 'product' (in the above code) in the Where clause.
I'm working on a project which requires me to plot a graph using Visual Studio ASP.Net from a data I've collected either in .txt or .xml format. The data consist of, eg. 15 records, but I'm only needed to plot 8 graphs out of the 15 records.
We've worked out some of the tasks on our website can be efficiently solved by maintaining the data using a graph structure. But we don't have much of an idea about how the graph is best persisted. Further we want to write and read simultaneously in an efficient manner in out asp.net app so it needs to handle multiple threads. It doesn't need to be super fast but it needs to be scalable to handle potentially millions of nodes.
I don't want to hack my own system and have heard of Neo4j. Lots of Java developers seem to recommend it to one another. Obviously I'm on the .Net platform and prefer to not have to switch.
What are the available options, particularly on the .Net platform?
I have a database with 4 columns, 3 of the columns are int (1-10) and the other is a "DateTime". I am trying to graph the 3 columns vs the DateTime(X-axis) on one line chart.
To add more than one y axis value I go to the Series property -> YValueMembers (notice the plural) and enter my 3 columns of the database (followed by commas) that I want on the Y axis.....but doesn't seem to work.
I get a run time error saying only 1 column is allowed on the Y axis.
Data points insertion error. Only 1 Y values can be set for this data series.
How do I get all 3 columns vs the 4th column on one line chart?
I have object graph, of Customer, Contact and Address... I want to convert it to dataset and then convert the dataset to xml. i don't think there is a straight method to convert to dataset or xml, therefore the my approach is the convert the objects to dataset using Reflection.
I am trying to create a GENERIC(used for any object type) function to convert object graph to dataset. but i have hit road block...how do i type cast a generic type cast..refer to the function ObjectToDataTable code marked inRed
I'm using EF4 and have created POCO objects. The problem with POCO objects are all the entity graph are ICollection....therefore cannot be serialized.
The problem lies is passing the entity graph to stored procedure....therefore the approach i have take is to convert the entity graph to dataset, convert the dataset to xml and then pass it the stored procedure....this is the only way i could get a clean XML in my stored procedure.
I'm trying to create a generic helper method to convert entity graph to dataset.
I am on a project where I have multiple users of a portal and they are connected to other users of the portal, now we are asked to draw a "Social Network" relationship graph to see the relationships. The constraint is that this graph has to be seen on the WEB BROWSER.
The graph has to be something like:
Is there any C# library or component to draw this type of graphs? We have already checked these:
I am tying to get the work information from a facebook user using Graph API
When I use the Graph API and get the User object, it contains work information, which is essentially a list of the work history. The list elements contain nodes of employer, location, description, etc...
The FQL return it as a JsonObject, how do i get the the value employer out of it. I am only interested in the last employer. I tried something below but could not get it working.
[Code]....
There is more information that says it return the "work_history" as an array
When it comes to integrating your site with facebook, is it recommended to save all the user's info from Facebook to your DB, or is it recommended to query in real time all the info you need based on the user's id?
For example the avatar sizes are different on my site than on my facebook, so I may have no choice but to download the fb avatar, but for other things like name, gender, hometown, I was wondering if I need to save that data. Also, if I decide to change extended permissions at a later time, is that going to be an easy task?