Jump to content
Software FX Community

LeighHerbert

Members
  • Posts

    18
  • Joined

  • Last visited

LeighHerbert's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Is this possible? If not, is there an alternative? I know I can draw a 'fake' grid line using a standard line series, but this seems unnecessarily messy (especially since I would need to set a point at every point on the X axis to get the tooltip to be visible from anywhere on the line). Thanks in advance, as always. Leigh.
  2. My application uses the UserCallback event heavily, and at present it is working. I am now trying to add functionality which updates my charts via an external control, all asynchronously. The most logical way for me to do this is to invoke my event handler for the UserCallback event by calling it directly. I have done this many times before with other event handlers (Button.OnClick, for instance). In this case, however, I cannot do it because I cannot create an object of type ChartFX.WebForms.UserCallbackEventArgs to pass in to the function. Is it possible to do this? Summary: I have a method which looks like this: Private Sub UpdateChart(ByVal sender As Object, ByVal e As ChartFX.WebForms.UserCallbackEventArgs) Handles Chart1.UserCallback, which works as expected. How can I call UpdateChart from my program code?
  3. Andre, Thank you very much for your reply, this was exactly what I was after.
  4. Are there any examples of how to link the points to JS functions?
  5. Hi there, I have a page which contains four charts. Each of these is updated using callbacks and the SFX_SendUserCallback and SFX_OnCallbackReadyDelegates. One workflow in the page causes two charts to update one after the other. This works fine in IE 6 and IE 7 but in Firefox, a '__pendingCallbacks is undefined' javascript error to be thrown. Updating a single chart works without the error, but in all cases, the charts are not sized correctly, they appear to be ignoring all sizing info set when they are created and just being show at the default size. Is the callback issue a known problem in Firefox? How about the sizing issue? Thanks in advance.
  6. Is it possible to catch a click event on a chart item (point, bar, label) on the client side? I know how to handle these on the server, but my application uses callbacks and I want to be able to update other page controls based on chart clicks. Is this possible?
  7. Any help on this? Still having no luck, it's definitely looking like a browser compatibility problem. If we can't get it solved it's going to cause us massive problems. Thanks in advance.
  8. UPDATE: After further testing, I'm now sure that these two issues are related, so my problem is thus: Generating a chart asynchronously in Firefox causes a "pendingCallbacks is undefined" error to occur and the charts to display at the incorrect size. I can replicate this error in IE by setting the render type to Auto. Rendering as Image in IE works as expected. Any help greatly appreciated.
  9. I have a page which contains two Charts. These charts are set to a fixed size when they are generated at the server side. In IE, they display as expected, but in Firefox, they come out at a default size much smaller than I want them. It appears to happen with any render format. Is this a known Firefox issue and is there a work around? Also, I am using callbacks to update my charts. These work fine in IE, but Firefox throws a Javascript error. Does this sound like a related problem?
  10. Thank you for your reply. I have ran your example and read the knowledge base, but there are still a number of things I am unsure about. Firstly, if I replace the code in your example which sets each chart to a specific gallery type, and instead change the gallery type each time, all three charts only update the first time; after that, only Chart1 does. Secondly, I do not want to use SendUserCallback. My charting functionality is handled by a number of external classes which return a string which I currently pass to my chart using OnCallbackReady. Is it possible to do something similar to the example, but use OnCallbackReady instead of SendUserCallback? Thanks again.
  11. I have a page which uses callbacks to update my charts. This works fine - I make a request, get back a response string and call SFX_OnCallbackRead(returnedString, ChartX) to update my chart. The problem is; this does not work with two charts simultaneously. Both charts will update independently: commenting out either SFX_OnCallbackReady function means the other updates without a problem, but calling two of these from the same page only updates the first. Is it possible to update multiple charts asynchronously? Thanks, Leigh.
  12. I'm somewhat stuck with getting a Grid to update asynchronously. Using callbacks, I execute the .NET procedure which sets up the Grid's data source as I want it (a DataTable), but getting the Grid to refresh to reflect the new data source is causing me a problem. A JScript error is thrown when attempting to execute GridFX.Grid.get_grids().Grid1.refreshData(); saying that the object does not support this property or method. I guess my question is, after binding a new data source to the grid, is refreshData() the correct clientside call? If not, what is, and if so, what might I be doing wrong? Thanks in advance, Leigh.
  13. I wonder if you can help, We have a chart which connects to an OLAP database. When rendering in .Net mode, the highlighting on hover-over and the analysis bar works exactly as we would expect. However, when rendering the chart in Flash or Image mode, hover-overs only show the basic tool tip (no highlighting) and attempting to click the analysis bar gives an error dialogue: An error has occured. Object reference not set to an instance of an object. For compatibility reasons, we need to use Flash or Image. Are we missing something? Thanks.
  14. I am trying to set up my legend box so that it only shows custom attributes and not Series. Can you help me either: a) hide the series items or set a newly created legend box (with no series entries) as the chart's legend. Thanks in advance.
  15. Apologies for the double post. The full IMG tag generated by the form is as follows: (underscores to stop it processing the tag) id="ctl00$ContentPlaceHolder1$chart1" src="/chartfx70/pss/ChartFX.aspx?id=0-110417431&type=png&mime=image%2fpng" WIDTH="503" HEIGHT="406" usemap="#ctl00$ContentPlaceHolder1$chart1Map" border="0" oncontextmenu="return SFX_OnChartContextMenu();" I have seen a couple of threads with similar problems. The other threads seem to differ in that those pages have been deployed. The charts I am getting problems with are in a site running in debug mode under VS2005 (Thought that was worth clarifying). Thanks again.
×
×
  • Create New...