Jump to content
Software FX Community

TatianaG

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by TatianaG

  1. Actually there is no short limit on the number of series that Chart FX supports. The Series property is a Integer type value and its limit depends on the limits of the Int type. Please send us the code you are using so we can analyze it and provide you with a proper answer.
  2. You can set the AxesStyle property to Math so the chart will only show the Left and Bottom borders (YAxis and XAxis respectively): chart1.AxesStyle = AxesStyle.Math;
  3. Unfortunately you can't do this if you are using Chart object; this because when you export the chart as an Image, you are only producing a simple image without any code. To capture events from the image, you must use ChartServer object so when you export the chart, it will be exported with the required javascript to handle interactivity.
  4. We have made some tests and we couldn't reproduce this behavior in a Web Forms application. However you can send a simple sample application that reproduces this issue to support at softwarefx dot com so we can properly analyze your case and provide you with an useful solution. ChartAutoResize.zip
  5. Unfortunately, Chart FX Lite doesn
  6. TatianaG

    Pie Chart

    You can add a white space between the points (sleeves) of a pie chart by setting the SeparateSlice property: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> //To separate the first slice of each series by 50%: Chart1.Points[0].SeparateSlice = 50; //To separate the first slice of the 2nd series by 50%: Chart1.Points[1,0].SeparateSlice = 50; //To separate all slices of the 1st series: Chart1.Series[0].SeparateSlice = 50;
  7. Yes, you can set the AxisX.Step property to 3650 (every 10 years) as following: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> chart1.AxisX.Step = 3650;
  8. Bar charts only support categorical X-Axis, so regardless of your X-Values, the attachment position must be expressed as an index in the X-Axis (0 for the first point, 1 for the second, etc.). In a line chart, the X-Axis is not categorical (if X-Values are passed) and therefore the attachment position is dependent on the X-Value and not on the point index. ChartReport.Gallery = Gallery .Lines ; Annotations annots = new Annotations (); ChartReport.Extensions.Add(annots); annots.EnableUI = true ; annots.ToolBar.Visible = true ; AnnotationText text = new AnnotationText ( "Katrina" ); text.Attach(2, 10); text.Color = Color .LightBlue; text.PlotAreaOnly = true ; text.AllowMove = false ; annots.List.Add(text);
  9. Bar charts only support categorical X-Axis, so regardless of your X-Values, the attachment position must be expressed as an index in the X-Axis (0 for the first point, 1 for the second, etc.). In a line chart, the X-Axis is not categorical (if X-Values are passed) and therefore the attachment position is dependent on the X-Value and not on the point index. ChartReport.Gallery = Gallery .Lines ; Annotations annots = new Annotations (); ChartReport.Extensions.Add(annots); annots.EnableUI = true ; annots.ToolBar.Visible = true ; AnnotationText text = new AnnotationText ( "Katrina" ); text.Attach(2, 10); text.Color = Color .LightBlue; text.PlotAreaOnly = true ; text.AllowMove = false ; annots.List.Add(text);
  10. You can use the URL property of the Annotation: Annotations annots = new Annotations(); Chart1.Extensions.Add(annots); AnnotationText text = new AnnotationText("My annotation"); text.Attach(2, 3); text.Color = Color.Red; text.PlotAreaOnly = true;text.AllowMove = false; text.Link.Url = "http://www.softwarefx.com";annots.List.Add(text);
  11. I have received some information from the Production Manager. Gauges for Java Desktop is under development and we expected it to be available in a couple of months.
  12. Gauges are not supported in this version of ChartFX Java Desktop
  13. I am afraid that the manipulation of the Series LegendBox is also very limited. It is not possible to configure a gap between items. On the other hand, ChartFX provides the UserLegendBox object that allows you to customize the Legend Box. I believe that by using this object, you will be able to add a Separator label and maybe even create a space between the two groups by creating an invisible Item. Please note that the drawback of using the UserLegendBox is that it is completely independent from values in the chart and therefore you will not be able to highlight series when hovering over the legend.
  14. The LogBase property will set a logarithmic scale for a numerical axis and recalculate the values as powers equal to the setting of this property. If your data values are in the range 8, none of them reaches the "10 value" that is the first label that will appear in a 10 LogBase
  15. To enable scrolling you must enable the Chart object's setScrollable property as follows: chart1.setScrollable(true);
  16. Unfortunately there is no way of telling Chart FX to ignore case. But you could use a sql statement that when retrieving your data would convert everything for you. I did a quick search on the web and found this website (not affiliated in any way with Software FX). http://www.brettb.com/SQL_Help_Change_Lower_Upper_Case.asp Does that look like something that would help you?
  17. When you refer to the Legend, are you talking about the Legend Box or the Xaxis labels?
  18. How are you using the export and import method? I created a simple application and used the following code for export and import respectively: Chart1.Export(ChartFX.WinForms.FileFormat.Xml, "C:\\XMLTest.xml");Chart1.Import(ChartFX.WinForms. FileFormat.Xml, "C:\\XMLTest.xml");It works fine and the min and max values where restored.
  19. Where are you setting the Pallete property? I created a simple sample. Manually I set the Pallete property to Nature.Sky (in the Properties window) and then changed it in code as bellow: private void Form1_Load(object sender, EventArgs e) { chart1.Data.Series = 1; chart1.Data.Points = 3; chart1.Gallery = Gallery.Pie; } private void button1_Click(object sender, EventArgs e) { chart1.Palette = "Default"; } It works just fine! Please let me know if works for you.
  20. XValue instructs Chart FX to treat the selected field as a number to be used as the X axis coordinate.
  21. You can add a TrackBar to your form and use the following code to scroll through the graph: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> private void trackBar1_Scroll(object sender, EventArgs e) { chart1.AxisX.ScrollPosition = trackBar1.Value; } Also add this line within the Form Load: trackBar1.Maximum = chart1.NValues; //or you can use (int)chart1.AxisX.Max if you previously set this value to your chart.
  22. You can add a TrackBar to your form and use the following code to scroll through the graph: private void trackBar1_Scroll(object sender, EventArgs e) { chart1.AxisX.ScrollPosition = trackBar1.Value; } Also add this line within the Form Load: trackBar1.Maximum = chart1.NValues; //or you can use (int)chart1.AxisX.Max if you previously set this value to your chart.
  23. Ooops, I didn't see this one was the 6.2 forum. Sorry!! In fact ChartFX for .Net 6.2 doesn't use PSS. Please check the following articles in our support site Q6141001. Security settings required by the .NET client control Q6121017. Troubleshooting the Client Component of ChartFX.Net
  24. I have made the same you did: I created two different charts and added custom toolbar items for each one. The hover effect was working fine for both charts. Maybe if you describe a little more how are you adding the custom toolbar items we can figure out what is happening with your application.
  25. You can format tooltips for Financial Extensions. Just remember that each Chart type is different from the other one and some charts display a kind of data that won't be shown in other charts. If you try the following variables, they will work fine: Chart1.ToolTipFormat = "The series legend is: " + "%s";Chart1.ToolTipFormat = "The series index is: " + "%S";Chart1.ToolTipFormat = "The data value is: " + "%v";Chart1.ToolTipFormat = "The Sum of all points in this series is: " + "%t";Chart1.ToolTipFormat = "The Sum of all series for this point is: " + "%T";Chart1.ToolTipFormat = "The index for this point is: " + "%N";
×
×
  • Create New...