Jump to content
Software FX Community

Frank

Staff
  • Posts

    1,761
  • Joined

  • Last visited

Everything posted by Frank

  1. About PointLabelMask: You are posting in the Chart FX for .NET 6.2 Forum, however, looking carefully at your code I noticed you are using Chart FX 7. The property you are looking for (in Chart FX 7) is: chart.AllSeries.PointLabels.Format This property is documented (http://support.softwarefx.com/OnlineDoc/CfxNet70//WinAPI/PointLabelAttributes_Format.htm). It is not that hard to find.. The PointLabelAttributes class only has about a dozen properties. Like with any complex product, finding exactly what you are looking for takes a little reading.
  2. No. Reporting services does not provide any support for writing code.
  3. Only if you have a scrollbar you can control the size of the bars, otherwise the width is determined by the avilable space and number of points. If you have a scrollbar you can set: chart.AxisX.PixelsPerUnit = widthOfOneUnit;
  4. The size of the marker in the legend box is determined by the legendbox font and not the size on the chart. This is by design. Curently there is no way to control the size of the marker displayed on the legend box independently of the font size.
  5. We were able to reproduce this problem and determined it was a bug. A fix will be included in the next Hotfix/Service pack. Please contact Software FX support for availability. Thank you for your feedback.
  6. > I tried the CustomGridLine, but this line does not move smoothly along each of the points on x axis, on mouse move it directly jumps to > the next vertical line in the Grid. You can draw a custon gridline at any position in the axis, it does not have to be at one of the tickmarks/gridlines. If you were getting this behavior tit must be because something you were doing in the code that made it jump. The following code, when included in the MouseMove event of a chart will produce a vertical gridline at the position of the mouse: CustomGridLine mousePointer;if (chart1.AxisX.CustomGridLines.Count == 0) { mousePointer = new CustomGridLine();mousePointer.Color = Color.Red; // TODO: Any other customization you want to do the the gridlinechart1.AxisX.CustomGridLines.Add(mousePointer); } elsemousePointer = chart1.AxisX.CustomGridLines[0]; double x = chart1.AxisX.PixelToValue(e.X);double min,max; chart1.AxisX.GetScrollView( out min, out max);x = Math.Min(x,max); x = Math.Max(x,min);mousePointer.Value = x;
  7. This is very strange. You don't need to add all those references. Did you install any servicepack/hotfix? What is the version (includding build) of your ChartFX.WebForms.dll and ChartFX.Wizard.dll. Please try the following. - Create a new WebSite (File System) - Drop a chart from the toolbox (don't add any references by hand) - Click on the "Select Chart Gallery" Action. What do you get?
  8. > I dont want to use CustomGridLines for this Why not? Custom Gridlines offer the easiest way to achive this.
  9. chart.Point[sliceIndex].Color = myColor; Stack.zip
  10. "hh:mm:ss" is not a number format. It is a DateTime format. You must set the format to AxisFormat.DateTime or AxisFormat.Time.
  11. You can't. You can however disable the gallery changing functionality altogether by doing: chart.AllowChanges &= ~( AllowChanges.GlobalGallery | AllowChanges.SeriesGallery);
  12. The question is what do you want to see. You can make the Font smaller. Ask yourself this: if you were to draw this chart by hand, how will you draw the labels so that all of them fit in a reduced space? You can attach a drawing of what you would like to see and then I can tell you whether or not (and how) it can be achieved with Chart FX.
  13. Chart FX doesn't aggregate data, you will need to aggregate this data before passing it to the chart.
  14. Looks like there is just no room to display them all. You can set chart.AxisX.Step = 1 to force it but then you will get overlapping which will render the chart unreadable. If there is no room to display all the labels what do you want to display?
  15. The following code should fix it: IDisposable bg = chart.Background as IDisposable; if (bg != null) bg.Dispose(); chart.BackGround = new ....
  16. SFX_SendUserCallback is assynchronous. You can not make another call to it untill the first one has finished. What you need to do is make your second call AFTER the first call returns. To do this, you can set: SFX_onCallbackReadyDelegate = function () { SFX_onCallbackReadyDelegate = null;SFX_SendUserCallback('Chart2', 'param' ,false ); }; SFX_SendUserCallback( 'Chart1', 'param' ,false);
  17. 1) How are you passing the image to the chart background? as an image object? If so, we don't have the file and wi will not Dispose of the Image object since it was given by you and you may be using it somewhere else. 2) What code are you using to change this? Did you try calling Chart.Refresh()?
  18. dataChart.Value(1, 0) is the Y-Value, dataChart.XValue(1, 0) is the X-Value.
  19. There is an easier way: There is a flag ins the AxisStyle (AxisStyle.Centered) that will do just that. I don't know exactly what the JAVA code will be but it must be something like: chart.getAxisY().setStyle(chart.getAxisY().getStyle() | AxisStyle.Centered);
  20. Cahrt FX requires a license to be installed in that server. Please contact Software FX sales, you can get a special license in a file that you can deploy to a hosted server.
  21. Wait a minute. You said: "My requirement page will not refresh when clicking the pie chart slice." If you set UseCallbackForEvents = true, only the chart will be refreshed. If you want to refresh another control you will have to either use some AJAX framework or do it on your own. Chart FX is capable of making AJAX calls to itself but it is not an AJAX framework. You may want to try using a ASP.NET AJAX UpdatePannel in which both the chart and the label are included. In this situation, you will not use UseCallbackForEvents but instead you will leave the AJAX functionality for the update panel to do.
  22. The API's used to draw the zoom rectangle require full-trust in the client.
  23. Set: chart.UseCallbackForEvents = true;
  24. You will need to provide your own UI. We do not include end-user UI for building the query.
  25. Sorry. Your question is too vague. Please provide more details.
×
×
  • Create New...