Jump to content
Software FX Community

TatianaG

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by TatianaG

  1. This could be a bug. Please send an email to support@softwarefx.com in order to track your issue.
  2. Have you tried turning PSS off?
  3. You can't word-wrap on the axis as you can in a title. As a suggestion - you can use the KeyLeg property (see API reference for details) to assign a short "nick name" to the axis itself and reserve the longer names for the legend box
  4. Unfortunately, Chart FX API does not provide a property to customize Label text area height. You should reduce the text you are currently sending to axis labels. As a workaround, you can change label angle (chart1.AxisX.LabelAngle = 45;). I hope this helps. Regarding the word-wrap question, you can't word-wrap on the axis as you can in a title. As a suggestion - you can use the KeyLabels property (see API reference for details) to assign a short "nick name" to the axis itself and reserve the longer names for the legend box
  5. Unfortunately, Chart FX API does not provide a property to customize Label text area height. You should reduce the text you are currently sending to axis labels. As a workaround, you can change label angle (chart1.AxisX.LabelAngle = 45;). I hope this helps.
  6. You can refer to the Resource Center for more information about working with Commands (Chart FX Programmer's Guide - Advanced Features - Working with Subcommands). There is also an application within your Samples folder: CustomizingUI. It will help you with your questions.
  7. I have tested your code and I saw that you are calling _chart.LegendBox.CustomItems.Clear() twice. One before the first "for" loop and the second one just after the "for". The reason that your custom legend items are not being shown is because you are deleting them in each call of the loop. If you delete the second call of the CustomItems.Clear method, your chart will display all the custom legend items. _chart.LegendBox.CustomItems.Clear(); for (int QuesInd = 0; QuesInd < questionInfoArray.Length; QuesInd++) { _chart.LegendBox.CustomItems.Clear() ;//This one is not necessary
  8. The way to export charts is with the Chart.Export method. Please try the following code: chart1.Export( FileFormat.Bitmap, "c:\\chart.jpg");
  9. This community is just for questions about SoftwareFX Products. Thanks.
  10. What do you mean with Multiple Charts? Is it a combination chart or several Panes for multiple series?
  11. The disabled Properties menu item issue may be happening because of the security settings of your .Net Client control. Please refer to the article Q6141001. Security settings required by the .NET client control at http://support.softwarefx.com/Articles/AllArticles.aspx?Product=CfxNet70
  12. The way to achieve what you want is with the following code: chart1.Highlight.HighlightItem( this, new SoftwareFX.ChartFX.Base.HighlightEventArgs(SoftwareFX.ChartFX.Base.HighlightModes.Point,vSeries, vPoint));Where vSeries is the series that you want to be highlighted (for Pie charts is 0) and vPoint is the specific point of the chart that you want to highlight (in this case, is the value that you get from your grid) Please try the above code and let me know if it works for you.
  13. Please refer to Chart FX 7 Documentation at http://support.softwarefx.com/SupportDocTree.aspx?Prod=CfxNet70&Type=P The Selecting the Chart's Output option in "Controlling the Chart FX Output" menu will help you with that information.
  14. The way to achieve what you want is by processing the DataChangedByUser event as follows: private void chart1_DataChangedByUser (object sender,PointLabelEventArgs e) { if (e.Axis == chart1.AxisX) e.Handled = true; // Prevent change of X-Axis values } Please try it and let me know if it works for you.
  15. Can you tell me which renderer are you using? Although I've tested my charts with all the renderers that ChartFX have and the properties menu is always enabled. Maybe it could be any settings in your chart or in your code
  16. The properties option in ContextMenus allows you to modify visibility attributes of the chart, like the Gallery, the Fill Scheme of the series, the style, weight, color and effect of the chart's border and also of the axis lines. Besides you can change the Labels angle and the scale for the X axis.
  17. Can you please send me a little sample code of how are you populating the chart? Because I also have AllowDrag activated and it doesn't seem to be any problem.
  18. Please try the following code: DataTable dt = new DataTable();DataColumn dc1 = new DataColumn();dc1.ColumnName = "X";dc1.DataType = Type.GetType("System.Int32");DataColumn dc2 = new DataColumn();dc2.ColumnName = "Y";dc2.DataType = Type.GetType("System.Int32");dt.Columns.Add(dc1);dt.Columns.Add(dc2);...... DataTableProvider data = new ChartFX.WebForms.DataProviders. DataTableProvider (dt); chart1.DataSourceSettings.Fields.Add( new FieldMap ( "X" , FieldUsage .XValue)); //Setting X axis chart1.DataSourceSettings.Fields.Add( new FieldMap ( "Y" , FieldUsage .Value)); //Setting series chart1.DataSource = data;
  19. I have confirmed this to be a bug, I have submitted it to our development team for analysis and feedback. I will automatically be notified when development updates the bug report; I will then relay this information back to you by replying to this incident. Note bug resolutions usually take anywhere from 1 to 4 weeks depending on the severity of the bug. Once a bug is fixed, it is made available as part of the next service pack. In rare situations where you cannot wait for the service pack release, we offer hotfixes which are available from our nightly builds. We HIGHLY recommend you wait until the next service pack is available for applying the fix as service packs go through numbers tests which hotfixes do not go through
  20. Thank you for your feedback. This post has been answered through an Incident in Support.
  21. You can't change the location of the scroll bar. For a Gantt chart, the AxisX scrollbar will appear at the left and the AxisY scrollbar will appear at the bottom of the chart. However, there is a way to create a scrollbar at the right of the chart: you can add a new AxisX. Please try the following code: AxisX axis = new AxisX();axis.Visible = true; axis.Min = 0; axis.Max = 12; //You need to set the Min and Max values, otherwise the Axis won't appear. You can use any values.axis.TextColor = Color.Transparent;//This is for hiding the values of the new Axis if you don't want them to be displayed.chart1.AxesX.Add(axis); chart1.AxesX[1].AutoScroll = true;
  22. I am afraid it isn't any property that can simultaneously scroll both scrollbars. If you need to handle this, you can use the following event code: protected void chart1_UserScroll(object sender, AxisEventArgs e) { if (e.Axis.ToString() == "Main X Axis") { chart1.AxesX[1].ScrollPosition = chart1.AxesX[0].ScrollPosition; } else { chart1.AxesX[0].ScrollPosition = chart1.AxesX[1].ScrollPosition; } }
  23. Hi, ChartFX has the ToolTipFormat property, that allows you to control the information to be displayed in the tooltip. Variables can be accessed using the % following the variable you want to include: l Shows X-Axis Legend. k Shows X-Axis Key Legend. s Shows Series Legend. S Shows the Series Index. x Shows XValue (XY charts, when they were set with X values). i Shows IniValues (Gantt). v Shows Data Value. v <n> For types that require more than one series, these are replaced by the value of each one. (n represents an index). t Series Total (Sum of all points in this series). p Percentage of total this point represents (Pie). T Point Total (Sum of all series for this point). P Percentage of total this series represents (Used in stacked charts). X displays the marker X value for any chart type including those that do not support X values such as bar. N Shows the index for the point. L Shows the Text property of the Point object. Please try the following sample code: string maskString = "My percentage is: "+"%P " + "and my value is: " + "%v"; chart1.ToolTipFormat = maskString;
×
×
  • Create New...