Jump to content
Software FX Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About RandyJ

  • Rank
    Advanced Member
  1. Hi, To add a series dynamically you first need to increase the number of series: chart.Data.Series++; The Series Attributes collection is automatically synchronized with the number of series in the data. Then you will have to add the items in the collection: Example: for (int i = 0; i < chart1.Data.Points; i++) { chart1.Data[newSeries, i] = ran.NextDouble() * 100; } Hope this helps. Regards,
  2. Hi, What kind of issues are you experiencing? Have you installed the product on the new machine? Please note that you need to uninstall the trial version from the current machine and then install it on the new one. You should be able to move the trial version by following this procedure. This, however, will not reset the 30 days evaluation period. Let me know about your findings. Regards,
  3. Hi, If you want to show the original double type value (without specifying a fixed number of decimals), you can use the GetTip Event to create a custom tooltip. Take a look at the following sample:private void chart1_GetTip(object sender, GetTipEventArgs e){ if (e.HitType == HitType.Point) { e.Text = chart1.Data[0, e.Point].ToString(); }} Alternatively, you can use the DataFormat property to specify the number of decimals: chart1.AxisY.DataFormat.Decimals = 2; Note: Using the DataFormat property will also specify the number of decimals for the pointlabels. Hope this helps,
  4. Hi, Take a look at the following sample: private void chart1_GetTip(object sender, GetTipEventArgs e){ if (e.HitType == HitType.Point) { double x = chart1.Data.X[0, e.Point]; MessageBox.Show(x.ToString()); }}Hope this helps. Regards,
  5. Hi, The problem is related to the fact that you are trying to combine an XY chart (which has a numerical axis), with a non-x/y chart (which has a categorical axis). Using XY charts will prevent you from combining the gallery with any non-x/y charts (e.g., bar charts, gantt, etc.), as X-Values can be used only in some galleries such as LINES, AREA, CURVE, STEP, SCATTER, SURFACE, CONTOUR. Please note that an unexpected behavior may be experienced when attempting to perform a non-supported combination. Additionally please note that, by design, Gantt, Surface and Contour galleries can't be combi
  6. Hi, I am afraid this option is not available. I apologize for the inconvenience. Regards,
  7. Hi, You can use the valueToPixel method. This method convert a logical chart value to its position in pixels for a selected axis. chart1.getAxisX().valueToPixel(double dValue) When positioning annotation objects in the chart area, you may want to convert a particular position in the chart area given in axis units to screen coordinates (pixels). Therefore, this method is particularly useful for this purpose. Regards, Randy Jimenez
  8. Hi, Each series exposes its own gallery property which allows you to define a gallery type for that particular series. Applying this property to a specific series will create a MultiType chart, where different Chart Types can be combined in the same chart. You must be careful of the chart types you select to combine as not all of them will produce desirable results. For example, combining a chart that does not have numerical axis (e.g. Pie Chart) with a chart that has a numerical axis (e.g. Line Chart) will produce a chart that can't be read by the end user. A rule of thumb is that you c
  9. Hi, Unfortunately there is no support for the xyz charts. There is only support for xy charts and you are only able to pass x and y values to the chart. Although Chart FX allows you to set a 3D look to your bar charts, please note that it will always use two dimensional data (as 3D is a visual effect that can be turned off). A feature called clustering is indeed available in Chart FX (normally used in 3D bar charts), and this effect allows you to change your chart perspective so that the data is extended in the third dimension and it will be shown as clusters displayed in the foreground.
  10. Hi, Please try the following code. I have used it on my side and it works as expected: Annotations annots = new Annotations();annots.EnableUI = true; chart1.Extensions.Add(annots);annots.ToolBar.Visible = true; chart1.ToolBar.Visible = true; Does it work at your end? Regards,
  11. Hi, This can be done by handling the GetTip event and setting the tip text to null if HitType is AxisSection. Here is the sample code. Let me know if it works for you. Adding the event handler on Form_Load: chart1.GetTip += new GetTipEventHandler (chart1_GetTip); And here is what the event looks like. void chart1_GetTip( object sender, GetTipEventArgs e) { if (e.HitType == HitType .AxisSection) { e.Text = null ; } } Regards,
  12. Hi, Could you please post a sample application that we can use to replicate this behavior? Thanks,
  13. Hi, No, you don't need a special version of the installer. The same installer can be used for 64 bit. Regards,
  14. Hi, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> It is indeed possible to replace Y-axis labels with text. However, there's a trick to using custom labels on a numerical axis that is best described using a real case scenario. For example, assume there is a numerical axis ranging from 0 to 100 with a step of 20. You'll end up with a chart with 6 tick marks on the axis (0, 20, 40, 60, 80 and 100). If this chart is to be used to display "customer satisfaction" ratings where: 0 = Very poor 20 = Poor 40 = Average 60 = Good 80 = Very Good 100 = Exce
  15. Hi Partha, If you want your X Axis to start at a specific number (not zero) you just need to use the Axis.Min property, which defines the minimum value of a selected axis. Example To set the Min value of the primary Y axis to 10: Chart1.AxisX.Min = 10 Regards,
  • Create New...