Jump to content
Software FX Community

AndreG

Staff
  • Posts

    333
  • Joined

  • Last visited

Everything posted by AndreG

  1. Hi Arjun, You need to give each point an X value. Like so: chart1.Data.X[0, 0] = 1; chart1.Data.X[0, 1] = 2; chart1.Data.X[0, 2] = 20; chart1.Data.X[0, 3] = 45; chart1.Data.Y[0, 0] = myValue; chart1.Data.Y[0, 1] = myValue; chart1.Data.Y[0, 2] = myValue; chart1.Data.Y[0, 3] = myValue;
  2. I apologize, but I do not understand the question.
  3. The legend box items are oredered just like the series. If you reorder the series, you will also reorder the legend box items. If you only have two series, you could just invert the whole thing to get the second series back on the bottom. chart1.getLegendBox().getItemAttributes().get(chart1.getSeries()).setInverted(true);
  4. Unfortunately you cannot have transparent backgrounds on the chart.
  5. Have you considered rendering the chart as an image? Through Ajax there is a lot of interactivity that was implemented, without the security flaws of a .NET object in the browser.
  6. Hello RetroMan, First of all I would like to apologize for the issues you are experiencing while using our component with the latest version of .NET. Please know that we do take these matters very seriously and with the help of Varun Gupta we were able to pin point the issue. As designed by Microsoft, .NET browser hosting controls are not allowed once .NET 4.5 is installed on a machine. This is done for security reasons and applies to every .NET control. Software FX has no control over the new restriction. Varun has pointed us to a link that explains compatibility in the .NET Framework 4.5: http://msdn.microsoft.com/en-us/library/hh367887.aspx. As you can see from the link, the previous behavior can still be obtained by modifying a key in the registry. We have tested the workaround and found it to fix the issue. Don
  7. To obtain a Hotfix, visit www.mysoftware.com/hotfix . You will need a valid Studio FX Subscription. If you do not have one, they are available at http://www.softwarefx.com/studiofx/
  8. You mentioned you wanted to clear the data on the chart, create a new dataset and then bind to it. Are you not binding new data to the chart? If you clear the data and not bind new dataset, you will see the No Data Available message.
  9. On the Passing Data sample project, the data of the chart gets cleared every time the data is changed by calling the Clear method on Data. Have you tried that? chart1.Data.Clear();
  10. I believe you need to install SQL Server SP1.
  11. I made a sample similar to this for someone else a while back. Since Chart FX 7 does not support broken Y axis (Chart FX 8 will), we can do something similar to what was suggested on the link you posted. Have 2 panes, 2 Y axis, and same data on both. Here is the code. Note that you can modify the panes sizes, proportion and such to make it more visually appealing. protected void Page_Load(object sender, EventArgs e) { DataTable table1 = new DataTable("Test"); //Create a table with your data twice table1.Columns.Add("Value1", System.Type.GetType("System.Double")); table1.Columns.Add("Value2", System.Type.GetType("System.Double")); table1.Rows.Add(new object[] { 10, 10 }); table1.Rows.Add(new object[] { 12, 12 }); table1.Rows.Add(new object[] { 11, 11 }); table1.Rows.Add(new object[] { 13, 13 }); table1.Rows.Add(new object[] { 89, 89 }); table1.Rows.Add(new object[] { 10, 10 }); Chart1.DataSourceSettings.Fields.Add(new FieldMap("Value1", FieldUsage.Value)); Chart1.DataSourceSettings.Fields.Add(new FieldMap("Value2", FieldUsage.Value)); Chart1.DataSource = table1; Chart1.Data.Series = 2; //Make both series the same color Chart1.Series[1].Color = Chart1.Series[0].Color; Chart1.Series[1].AlternateColor = Chart1.Series[0].AlternateColor; Pane pane1 = Chart1.Panes[0]; Pane pane2 = new Pane(); Chart1.Panes.Add(pane2); Chart1.Series[0].Pane = Chart1.Panes[0]; Chart1.Series[1].Pane = Chart1.Panes[1]; pane2.AxisY.Max = 15; pane2.AxisY.Min = 0; pane1.AxisY.Max = 100; pane1.AxisY.Min = 80; //Hide the extra series from the legendbox Chart1.LegendBox.ItemAttributes[Chart1.Series, 1].Visible = false; }
  12. Hello. The product comes with plenty samples, including examples on how to pass data to the chart. Take a look at your Resource Center (under the Windows Start Menu) or at C:\Program Files (x86)\Chart FX 7\Help and Samples\Sample Applications\Web Forms (remove the (x86) if you have a 32bit machine). Look for a sample called Passing Data.
  13. Highlighting is not a feature of Chart FX 7 Webforms when using Ajax. This will be introduced in Chart FX 8, expected to come out Q1 2012.
  14. It's in the API documentation, under ValueFormat.CustomFormat Property: Time Parameters: Character h Display the hour as a number without leading zeros (0-11) using a 12-hour clock Character hh Display the hour as a number with leading zeros (00-11) using a 12-hour clock Character H Display the hour as a number (0-23) using a 24-hour clock. Character HH Display the hour as a number with leading zeros (00-23) using a 24-hour clock. Character m Display the minute as a number without leading zeros (0-59).Character mm Display the minute as a number with leading zeros (00-59). Character s Display the second as a number without leading zeros (0-59). Character ss Display the second as a number with leading zeros (00-59).Character t One character time-marker string, such as A or P Character tt Multicharacter time-marker string such as AM or PMFormat Display m/d/yy 12/7/58 d-MMMM-yy 7-December-58d-MMMM 7 December MMMM-yy December 58 h:mm 20:50 h:mm:ss 20:50:35 m/d/yy h:mm 12/7/58 20:50
  15. Are you sure you are using a numeric X axis (as in not categorical)? Are you passing data to X (chart1.Data.X[0, 0] = myXValue;)?
  16. You still have not answered whether or not turning PSS off works. Is PSS running properly? Are you using authentication?
  17. Not sure why you posted your code. If your code works on one machine, it should also work on another, that should not be the issue. You have not answered my question regarding the License Manager. Can you take a screenshot of that. Also, can you take a screen shot of your ISS showing the two virtual folders?
  18. Folders chartfx70 and chartfxguage10 are not supposed to be created under the root. They are folders inside the installation folder of each product. A virtual folder with same name is created in IIS, pointing to them. Regarding your license, what do you see on the License Manager?
  19. Alternatively you may contact support visiting www.mysoftwarefx.com/support. A valid support account is necessary to post a new incident. If you wish to renew your support account, you may do so at http://www.softwarefx.com/studiofx/.
  20. support at softwarefx dot com is no longer a valid email address. AlexeyRedko, can you just post the image here instead? Blur out any sensitive data since this is a public forum.
  21. Since all panes share an X axis it would not be possible to do this with a custom grid line. I believe it is absolutely possible to do with annotation though.
  22. This works for me: chart1.LegendBox.PlotAreaOnly = false; chart1.LegendBox.Width = chart1.Width; There is no way of setting how many columns you want on the legend box.
  23. Hello BestMark, I was under the impression this bug was fixed. I can confirm that the online samples are using older dlls and I will take care of replacing them on the server. Can you try using the latest Service Pack on your end?
  24. PSS is a service that runs on your server and handle the charts request. It does not work for gauges. You are responsible for deleting the images that get stored on the temp folder, periodicaly. I'm not sure why gauges works and chart does not. Maybe because PSS is not working? Can you try turning that service off and seeing what happens? : Troubleshooting PSS: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/2/021.htm More about PSS: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/004.htm Turning off PSS: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/010.htm "The chartfx70 folder under the root was missing not IIS." -- Not sure what you mean by this. Since you did not mention anything I am guess reinstall did not work? Are you using any form of authentication on your page? If so, there are configurations required: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/009.htm
  25. Hello Pkuehn, The information you got over the phone is incorrect and I apologize for that. You do qualify for phone support. Maybe you did not provide them with the correct Serial Number? The Serial Number that qualifies you for phone and web support starts with SFXPUD. If you need to be reminded of that Serial Number, please contact sales [at] softwarefx.com. Also, if you have any other questions (supported related or otherwise) please feel free to contact me directly by sending me an email (use the Contact button on the top of this post). If you ever need us for anything else I would like to make sure you are properly taken care of. Regards,
×
×
  • Create New...