Jump to content
Software FX Community

RandyJ

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by RandyJ

  1. Hi, Do you have the latest version of Chart FX 7 installed? Also, please make sure you have properly configured the ChartFX70 virtual folder in IIS. Make sure that anonymous access is enabled for that folder in IIS. Restart IIS (iisreset from command prompt). Additionally, let's make sure that this is not a .NET security problem. On the problematic client machine, go to Control Panel->Administrative Tools->Microsoft .NET Framework 2.0 Configuration Click on "Configure Code Access Security Policy" Click on "Adjust Zone Security" Click Next on Make changes to this computer Set My Computer, Intranet, Internet and Trusted Sites to Full Trust Let me know how it goes. Does this problem happen on one machine? Does it happen on all the client machines? Regards, RandyJ
  2. Hi, By default, Chart FX will generate an image. Please note that rendering the chart as an "ActiveX" (which includes a lot of interactive functionality) is only available for "Internet Explorer". If you use ActiveX, you will not be able to view the chart in Firefox or other browsers. Please note that Firefox does not officially support ActiveX. By setting the third parameter to "Auto", Chart FX will generate the most interactive format depending on the User Agent of the browser requesting the chart. If the browser is Internet Explorer with the .NET Framework installed, Chart FX will generate a .NET component. If the browser is Internet Explorer 4 or above, without the .NET Framework, an ActiveX will be generated. For the rest of the browsers, an image will be generated in Png or Jpeg format, depending on the browser's capabilities. Regards, RandyJ
  3. Hi, Unfortunately Chart FX does not include a built-in feature to obtain those values (where 2 lines intersect). You will need to get them manually. You just need to loop through the series array and get the values with the same XY coordinate. Regards, RandyJ
  4. Hi, Unfortunately, you are not able to copy an entire series to another in such a way, since a series is a read-only object. Please note that a series object does not contain only data but also all the visual atributtes associated with it. I would say that the only option would be to perform a manual copy of the series (copying the data with a loop). Regards, RandyJ
  5. Hi By design you are only able to use SimpleBorder or ImageBorder objects. However, please note that you can also use the Draw() method which allows you to draw a SimpleBorder to a selected device context without ever assigning the SimpleBorder object to a chart. Take a look at the following sample: SimpleBorder simpleBorder = new SimpleBorder(); Rectangle rect = new Rectangle(0, 0, 500, 350); Graphics graphics = this.CreateGraphics(); simpleBorder.Type = SimpleBorderType.RaisedOuter; simpleBorder.Draw(graphics, rect, Color.Red); Regards, RandyJ
  6. Hi,Could you please report this problem to support at softwarefx dot com? We will try to replicate the issue on our side so we can confirm it as a bug. However we would appreciate that you send an email detailing what exactly happens at your end so we can properly track the incident. Regards, RandyJ
  7. Hi, Please try using the "XValuesAsHeaders" property. It instructs the chart to use XValues as the headers in the data editor. When set to true, the XValues passed to a chart will be used as point headers in the dataGrid. Please remember that in order for this property to affect the chart, the chart must include XValues (XY plot).chart1.DataGrid.XValuesAsHeaders = true;Regards, RandyJ
  8. Hi, Why do all your bubbles have the size of 0? Do you want them not to be shown? Please note that Chart FX uses two series of data to create bubble charts. By default, the first series passed to the chart is used for the actual point values (Y Values), while the second series is used to control the size of the bubble marker. A value greater than 0 is required for each bubble to be properly displayed since a value of 0 would mean the bubble does not have a size (size=0). Now, if you want to hide specific bubbles then you need to hide the corresponding data point. Regards, RandyJ
  9. Hi,Could you please report this problem to support at softwarefx dot com? We will try to replicate the issue on our side so we can confirm it as a bug. However we would appreciate that you send an email detailing what happens at your end so we can properly track the incident. Regards, RandyJ
  10. Hi, Chart FX for .NET includes a property called "PointLabelMask" which allows to customize the way PointLabels are displayed. Please take a look at the variables below. 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.x Shows XValues (XY Plots).i Shows IniValues (Gantt).v Shows Data Value.n <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.L Shows the Tag string of the Point object.N Shows the index for the point.S Shows the index for the series.Since you want to display the actual value, you just need to use the "v" variable:Chart.PointLabelMask = "Value %v" Regards, RandyJ
  11. Hi, Unfortunately you are not able to fully customize the headers. You can use the XValuesAsHeaders property to instruct the dataeditor to use XValues as the headers, but you are not able to fully customize them. Regards, RandyJ
  12. Hi,In regard to pointlabels, please note that you can use the Offset property which allows you to customize the point label position by configuring its coordinates. The following code sets the PointLabelOffset to 4 pixels up and 5 pixels to the right:chart1.AllSeries.PointLabels.Offset = new Point(4,5);There is also another object called PointLabelOrganizer (Chart FX 7 only) that supports members to enable developers with built-in features to try and display point labels in the most visual appealing manner. It supports members not only to bring all labels to the front to avoid this issue, but also internal algorithms used to reposition and even hide offending point labels. Additionally, members have been implemented to allow the developer control over acceptable point label collisions, time limits used for organizing and even caching features (Please refer to the Resource Center for more details on how to use it). As for the legends, please note that you can use the Staggered property which alternates the level of the axis labels for the selected axis labels. Staggering axis labels can help improve chart readability when axis label strings are long. Below, the X axis staggered property is set to true: chart1.AxisX.Staggered = true;Regards,RandyJ
  13. Hi, We are not able to see your code. Could you please send it again? Additionally, please elaborate on what the problem is. Regards, RandyJ
  14. Hi, Could you please report this problem to support at softwarefx dot com? We will try to replicate the issue on our side so we can confirm it as a bug. However we would appreciate that you send an email detailing what happens at your end so we can properly track the incident. Regards, RandyJ
  15. Hi,The ShowLine property aAllows you to show or hide a constant line in the chart. However, please note that when you hide a constant line using this property, any text associated with the line will remain in the chart. You can use the ShowText property to show or hide the constant line text.Chart1.ConstantLines(0).ShowLine = FalseAs for your second question, I am afraid that would not be possible since this is by design.Regards,RandyJ
  16. Hi, Customgridlines have a property called text. This property is shown as a tooltip by default. CustomGridLine c1 = new CustomGridLine(100, "100"); chart1.AxisY.CustomGridLines.Add(c1); You are able to pass the said property as a second parameter. Additionally, please make sure tooltips have been enabled in the chart: chart1.tooltips = true; Regards, RandyJ
  17. Hi, There are some specific steps you may need to follow. Please send an email to support at softwarefx.com Regards, Randy
  18. Hi, Please note that you can pass a fouth parameter when specifying the series color. Take a look at the following sample: chart1.Series[0].Color = Color.FromArgb(50, 255, 200, 100); The first parameter refers to the "alpha" component. Regards, RandyJ
  19. Hi, Could you please let me know exactly the kind of exception you are getting? It should not be throwing any exception when setting min and max values for the axes. Could you post the code that generates the error? Regards, Randy
  20. Hi, Well, since the second series of the bubble chart controls the size of the bubble, you just need to modify the values in this second series. By doing so, you will be modifying the size of the bubble. For example, if the size of the first point is zero, then you just need to modify the first point in the second series, so it has a greater value: chart1.Data[1, 0] = 10; //Bubble Size for bubble on point 1 Regards, Randy
  21. Hi, Is the AutoScale property enabled? When it is enabled, Chart FX recalculates the scale values according to the data set. Additionally, please note that if you preset any of the scale values (Min, Max, Step or MinorStep) Chart FX will not recalculate the scale when new data is sent to the chart.However, this behavior can be altered by invoking the AxisY ResetScale method. This method recalculates scale values associated to that specific numerical axis. If you want to recalculate ALL numerical axes settings, the Chart exposes a method called RecalculateScale. Please keep in mind that RecalcScale method applies to ALL numerical axes and reads the entire data array. In other words, you should avoid calling this method repeatedly as it will adversely affect the performance of your application. Regards,Randy
  22. Hi, Well, the problem may be related to the fact that Chart FX uses two series of data to create a bubble chart. The first series passed to the chart is used for the actual point values (Y Values), while the second series is used to control the size of the bubble marker. So, since you are only able to pass one series (actual points) you should not have more than one bubble at the same point. Regards, Randy
  23. Hi, Well, actually the data (and the format) shown in the datagrid will depend on the actual chart data. You are not able to format only the datagrid's values. Regards, Randy
  24. Hi, In order to change the Chart FX default Temp folder you need to modify an XML configuration file. 1. Go to you ChartFX installation folder (in my case is C:\Program Files\Chart FX 7\) then go to the \bin folder and look for the ChartFX.Internet.config.XML file. 2. Duplicate this file in your IIS \bin application folder, and rename it to: ChartFX.WebForms.config.XML 3. Once, you duplicate and rename this file, you need to edit it and add a couple of entries referencing an IIS virtual directory (In this case I named mine as Temp) < CfxIESettings > < Relative > /Temp </ Relative > < RequiredRoot > /Temp </ RequiredRoot > < AxCompat > True </ AxCompat > </ CfxIESettings > In order to illustrate this, I created a new IIS Virtual folder mapping to the physical path C:\Temp. (In your case you need to map it to your network path, and make sure the user who is going to connect to this folder has the correct read/write permissions). Inside my IIS virtual folder I added two more folders: \ChartFX70\Temp, since Chart FX 7.0 will always look for this path. At the end, the full path (for the new IIS temp folder) where my Chart FX will save temporary images is C:\Temp\ChartFX70\Temp Check out the screenshot attached. If you need to change the default save path at run time, then you need to modify the xml file at runtime. Regards, Randy
  25. Hi, By design, you are not able to change the Boxplot colors. Regards, Randy J
×
×
  • Create New...