Jump to content
Software FX Community

Aps.com

Members
  • Posts

    18
  • Joined

  • Last visited

Aps.com's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. HI, I am trying to generate a graph using chart class in .net. My X axis is time with 10 min interval and Y axis is numerical value. The chart works fine if my X axis label format is hh:mm but when i change the format to only hh I dont get the accurate results. For e.g. if my data starts from 9:20 am and the value is 120, with hh:mm format the the first label is 9:20 and value is 120 but with only hh format the first label becomes 9 am and value is 120. Similarly, it show the value at 10:20 not 10 as 10 am. I want to customize the labels and grid for hour values like 9 am,10 am.
  2. Hi, I am create the Chart object and then rendering it to html. In one of test server I can see the image file but in another server I see only a box. If I right click and select Show Pictures, the image comes up properly. I checked the source code of the web page, the image src is in different format for both the servers. I have chartfx 7 installed in both of them. Is it because of some configuration settings? Thanks in advance
  3. I need to display all lables at all time, is there a way to either make the bar size smaller which I assume will also make the axis smaller? right now I have the width of the chart set at 650 which is huges in respect to the entire web page and it is showing a chart for an enter month of 31 days, on the X axis the labels read like (Sat 3/2/2008, Sun 3/3/2008, etc in a vertical facing fashion. I can try to set the Step property to one and see what happends but I am sure it's like you say it will overlap. any additional suggestions would be greatly appreciated.
  4. Is there a way to force the visibility of all the labels on the X axis to be displayed, without having a extremely large chart display. Right now the chart when rendered is showing ever other label even though there is a bar display for each value of data?
  5. Aps.com

    Pie charts

    ok, so I have figured how to so get a pie chart, change color, supply data, etc. But I have one big question. why is it that the pie itself is much smaller than the actual size of the chart? I have my chart height and width set at 400, but the pie is really small in comparison to the size of the actual image displayed on the page. Is there away to get a large pie without have to having to increase the height and width of the chart?
  6. wow, that was too easy. there needs to be a newbie section in the form for low-end questions like that. thanks for your quick response
  7. Below is sample code I am using to attempt to produce a bar graphic with the yAxis as string data. I have seen examples in these forms that suggesting using a datatable column and implementing the "typeof" method to convert to string. I have tried that with no success I continue to get the message "input string not correct format" Please help. DataTable mydt = new DataTable(); mydt.Columns.Add( "Range");mydt.Columns.Add("Month",typeof(string)); DataRow mydr1 = mydt.NewRow();mydr1["Range"] = 100;mydr1["Month"] = "March"; mydt.Rows.Add(mydr1); mydt.AcceptChanges(); DataRow mydr2 = mydt.NewRow(); mydr2[ "Range"] = 200;mydr2["Month"] = "April"; mydt.Rows.Add(mydr2); mydt.AcceptChanges(); DataRow mydr3 = mydt.NewRow(); mydr3[ "Range"] = 300;mydr3["Month"] = "May"; mydt.Rows.Add(mydr3); mydt.AcceptChanges(); Chart1.DataSourceSettings.Fields.Add(new FieldMap("Month", FieldUsage.XValue)); Chart1.DataSourceSettings.Fields.Add( new FieldMap("Range", FieldUsage.Value));Chart1.DataSource = mydt;
  8. Aps.com

    Pie charts

    ok, I'm a newbie to ChartFX 7. would someone please give me guidance on how I can create a pie chart with labels that display the % of each slice. I was trying to load a screenshot here for a visual but was unable to do so. So for example if I have a 2 point pie chart and one of the points is 30% the other is 70% I would like to see those numbers displayed over the top of the slices. thanks
  9. Currently we are using the trial version to determine if this software will work with our web application. I have it working fine on my development machine. Now we want to test it out on our development server so others can test it out. I have tried to run the same installation but it fails because Visual Studio is not installed on our servers. Please help. thanks
  10. Hey don't bother answering the previous question. I found what I needed in this form "GetHtmlTag" on your website. thanks, I am sure as I learn more I'll have more questions.
  11. What is or is there an .NET equivalent to the GetHtmlTag method in your previous version of your ChartFX control?
  12. thanks for that example it help greatly. I have another question though as I go through some of the documentation for ChartFX I see some examples that show Label1.Text=char1.RenderControl(); where it would appear you can assign the chart output to a label location or local variable, however when I attempt to do the same as the documented examples it raises an error. Is it possible to assign the chart output to a variable or some other control?
  13. I am just attempting to us ChartFX and I would appreciated if someone would provide a basic C# coding example of creating a chart object, setting up the object with heigth, width, (whatever is required) and then rendering the object out to an html page, it can be an image if necessary I just need to drop it on the html page. any simple example would be greatly appreciated.
  14. great thanks, now that I believe you understand what we are looking to do can you provide some basic examples of doing that for both and image as well as an object?
  15. sorry I did not provide enough details. What we have is a somewhat unique situation. we are not using standard Asp.net which produces .Aspx pages, we are using C# that will grab data from a sql server database and do some other manipulations then output it to a standard html page. so for example we will execute a function on our website that will invoke a dll that will grab data, format it and them do a response.write to a html page. it's our understand that ChartFX is a server control that requires a webform as a container in order for it to be used. It is our hope that we have a misunderstand and that we can invoke the ChartFX object via it's API and dynamically create, render it to an html page since our enviroment and content management software does not allow nor support the use of .NET webforms. if you need additional information please let me know. thanks for your assistance as we try to determine if your product will in our unique environment.
×
×
  • Create New...